pub fn assert_approx_eq_with_default(
lhs: FLOAT,
rhs: FLOAT,
) -> Result<bool, Box<EvalAltResult>>
Expand description
Assert that two floats are approximately equal and return an error if they are not. Use the default tolerance of 1e-10 for the comparison.
assert_approx_eq(2.0, 2.000000000000000001);