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
Change log
Dependencies base (==4.*), HUnit (>=1.2) [details]
License BSD3
Author Richard Eisenberg <>
Maintainer Richard Eisenberg <>
Category Testing
Home page
Bug tracker
Source repository this: git clone v1.1)
Uploaded Sat Oct 15 19:34:50 UTC 2016 by RichardEisenberg
Updated Thu Jun 1 17:16:59 UTC 2017 by RichardEisenberg to revision 1
Distributions LTSHaskell:1.1, NixOS:1.1, Stackage:1.1, Tumbleweed:1.1
Downloads 853 total (17 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-10-15 [all 1 reports]
Hackage Matrix CI




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.