Commit graph

3 commits

Author SHA1 Message Date
Colin Sherratt bc89f14250 Fix tests 2015-01-09 15:30:19 -07:00
Colin Sherratt c7270a9077 Update to latest rustc 2015-01-07 15:34:42 -07:00
Eduard Bopp 666bb56670 Assertion macros for approximate equality
For sake of readability and consistency with the standard library macros
assert! and assert_eq!, the macros assert_approx_eq! and assert_approx_eq_eps!
have been implemented based on the ApproxEq trait.

Upon failure these macros yield readable error messages including the input
values and the tolerance (epsilon) used to determine their approximate
equality.

Resolves #131.
2014-10-23 10:22:34 +02:00