HUnit-approx: Approximate equality for floating point numbers with HUnit

[ bsd3, library, testing ] [ Propose Tags ]

This package exports combinators useful in comparing floating-point numbers in HUnit tests, by using approximate equality.

[Skip to Readme]
Versions [RSS] [faq] 1.0, 1.1, 1.1.1,
Change log
Dependencies base (==4.*), HUnit (>=1.2) [details]
License BSD-3-Clause
Author Richard Eisenberg <>
Maintainer Richard Eisenberg <>
Revised Revision 1 made by RichardEisenberg at 2017-06-01T17:16:59Z
Category Testing
Home page
Bug tracker
Source repo this: git clone v1.1)
Uploaded by RichardEisenberg at 2016-10-15T19:34:50Z
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 4094 total (21 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2016-10-15 [all 1 reports]




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for HUnit-approx-1.1

[back to package description]


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.