Module measurements::test_utils[][src]

Utility code for writing tests.

Functions

almost_eq

Check two floating point values are approximately equal

almost_eq_delta

Check two floating point values are approximately equal using some given delta (a fraction of the inputs)

assert_almost_eq

Assert two floating point values are approximately equal

assert_almost_eq_delta

Assert two floating point values are approximately equal using some given delta (a fraction of the inputs)