sf_assert_gt

Macro sf_assert_gt 

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

Passes if the left argument is strictly greater than the right one.

Passes if the left argument is strictly greater than the right argument. Otherwise, the test is marked as failure.

ยงExamples

let left = 325;
let right = 37;
sf_assert_gt!(left, right);
sf_assert_gt!(-6, 32, "this test is a failure");