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 <>
Category Testing
Home page
Bug tracker
Source repo this: git clone v1.0)
Uploaded by RichardEisenberg at 2014-06-30T02:30:10Z
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]
Successful builds reported [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees


Readme for HUnit-approx-1.0

[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.