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

[ bsd3, library, testing ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0, 1.1, 1.1.1, 1.1.1.1
Change log CHANGES.md
Dependencies base (>=4 && <5), call-stack (>=0.1), HUnit (>=1.2) [details]
Tested with ghc ==7.4.2, ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.3, ghc ==8.0.2, ghc ==8.2.1
License BSD-3-Clause
Author Richard Eisenberg <rae@cs.brynmawr.edu>
Maintainer Richard Eisenberg <rae@cs.brynmawr.edu>
Category Testing
Home page https://github.com/goldfirere/HUnit-approx
Bug tracker https://github.com/goldfirere/HUnit-approx/issues
Source repo this: git clone https://github.com/goldfirere/HUnit-approx.git(tag v1.1.1.1)
Uploaded by RichardEisenberg at 2017-10-31T20:14:45Z
Distributions LTSHaskell:1.1.1.1, NixOS:1.1.1.1, Stackage:1.1.1.1
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 5017 total (18 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-10-31 [all 1 reports]

Readme for HUnit-approx-1.1.1.1

[back to package description]

HUnit-approx

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.