Macro approx::assert_abs_diff_eq
source · [−]macro_rules! assert_abs_diff_eq {
($given:expr, $expected:expr $(, $opt:ident = $val:expr)*) => { ... };
($given:expr, $expected:expr $(, $opt:ident = $val:expr)*,) => { ... };
}
Expand description
An assertion that delegates to abs_diff_eq!
, and panics with a helpful error on failure.