macro_rules! assert_gt {
    ($left:expr, $right:expr $(,)?) => { ... };
    ($left:expr, $right:expr, $($arg:tt)+) => { ... };
}
Expand description

Asserts that the left hand side expression is greater than the right hand side expression

Examples

use all_asserts::assert_gt;
let a = 100; let b = 100;
#[cfg(should_panic)]
assert_gt!(a, b);