Macros
- Behaves exactly like
assert_eqbut calls on theaprox_eq()function as provided by theAproxEqtrait instead ofeq()as provided byPartialEq. - Behaves exactly like
assert_nebut calls on theaprox_ne()function as provided by theAproxEqtrait instead ofne().
Traits
- Trait for aproximate equality, mostly for dealing with small amounts of error that accumulate in floating point numbers which can be particularly annoying when trying to unit test.