Approximate equality for floating point numbers with HUnit

Version on this page:1.0
LTS Haskell 21.23:
Stackage Nightly 2023-12-06:
Latest on Hackage:

See all snapshots HUnit-approx appears in

BSD-3-Clause licensed and maintained by Richard Eisenberg
This version can be pinned in stack with:HUnit-approx-1.0@sha256:3c597340e102b768ecff7229dfb49669b1ab77796e9a1703920d442dda6315f1,1229

Module documentation for 1.0

Depends on 2 packages(full list with versions):


Build Status

This Haskell package provides operators to test approximate equality among numerical values, compatible with HUnit. It uses implicit variables to make for a clean interface, where approximate comparison looks like a binary operator.


HUnit-approx changelog

Version 1.0

  • Initial release: assertApproxEquals, and assertion and test combinators.