Approximate equality for floating point numbers with HUnit

LTS Haskell 8.12:1.1
Stackage Nightly 2017-04-24:1.1
Latest on Hackage:1.1
BSD3 licensed and maintained by Richard Eisenberg

Module documentation for 1.1


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


  • HUnit is Safe only in GHC 7.10 and above; this modifies Safety settings accordingly.


  • Initial release: assertApproxEquals, and assertion and test combinators.
Depends on:
Used by 1 package:
comments powered byDisqus