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.*), call-stack (>=0.1), 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.1.1.1)
Uploaded by RichardEisenberg at 2017-10-31T20:14:45Z
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 4098 total (22 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 2017-10-31 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees


Readme for HUnit-approx-

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