Module assert_f64_eq

Module assert_f64_eq 

Source
Expand description

Assert a floating point 64-bit number is equal to another within f64::EPSILON.

Pseudocode:
a = b

§Example

use assertables::*;

let a: f64 = 1.0 / 3.0;
let b: f64 = 0.3333333333333334;
assert_f64_eq!(a, b);

§Module macros