The HUnit-approx package

[ Tags: 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 1.0, 1.1, 1.1.1,
Change log
Dependencies base (==4.*), call-stack (>=0.1), HUnit (>=1.2) [details]
License BSD3
Author Richard Eisenberg <>
Maintainer Richard Eisenberg <>
Category Testing
Home page
Bug tracker
Source repo this: git clone v1.1.1.1)
Uploaded Tue Oct 31 20:14:45 UTC 2017 by RichardEisenberg
Distributions LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 1630 total (54 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-10-31 [all 1 reports]
Hackage Matrix CI




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.