Commit Graph

3 Commits

Author SHA1 Message Date
Ben Foppa
bd7b4f287f rustup 2015-01-07 15:14:40 -05:00
Mike Dilger
64130dfb2f tests for ApproxEq ULPs 2015-01-01 10:41:15 +13:00
Eduard Bopp
956c5cdecc Implement assertion macros for ApproxEq
These macros yield readable error messages as test assertions for ApproxEq
types. They can be invoked as:

    assert_approx_eq!(a, b);
    assert_approx_eq_eps!(a, b, eps);

Fixes #40.
2014-11-23 14:15:56 +01:00