macro_rules! sf_assert_lt {
($left:expr, $right:expr $(,)?) => { ... };
($left:expr, $right:expr, $($arg:tt)+) => { ... };
}Expand description
Passes if the left argument is strictly smaller than the right one.
Passes if the left argument is strictly smaller than the right argument. Otherwise, the test is marked as failure.
ยงExamples
let left = -325;
let right = 37;
sf_assert_lt!(left, right);sf_assert_lt!(0, -3, "this test is a failure");