Macro k9::assert_greater_than
source · [−]macro_rules! assert_greater_than {
($left:expr, $right:expr) => { ... };
($left:expr, $right:expr, $description:expr) => { ... };
}
Expand description
Asserts if left is greater than right. panics if they are not
use k9::assert_greater_than;
assert_greater_than!(2, 1);