ensure_eq

Macro ensure_eq 

Source
macro_rules! ensure_eq {
    ($a:expr, $b:expr, $c:expr) => { ... };
}
Expand description

checks if two expressions are equal, if not return an error: ensure_eq(left, right, "some error")