BSD3 licensed and maintained by Richard Eisenberg

Module documentation for


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

  • Drop support for GHCs lower than 7.2.


  • Use HasCallStack to provide better locations for errors.

  • Remove -main-is for compatibility with cabal 2.0.


  • 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 3 packages:
Used by 1 package:
comments powered byDisqus