Macro approx::assert_relative_eq

source ยท
macro_rules! assert_relative_eq {
    ($given:expr, $expected:expr $(, $opt:ident = $val:expr)*) => { ... };
    ($given:expr, $expected:expr $(, $opt:ident = $val:expr)*,) => { ... };
}
Expand description

An assertion that delegates to relative_eq!, and panics with a helpful error on failure.