macro_rules! sf_assert_eq {
($left:expr, $right:expr $(,)?) => { ... };
($left:expr, $right:expr, $($arg:tt)+) => { ... };
}Expand description
Passes if both arguments are equals.
Passes if the left argument is equal to the right argument. Otherwise, the test is marked as failure.
ยงExamples
let left = 37;
let right = 37;
sf_assert_eq!(left, right);sf_assert_eq!(0, 5, "this test is a failure");