pub fn ne<T>(expected: T) -> NEMatcher<T>Expand description
Matches a value is not equal (in the sense of !=) to expected.
verify_that!(0, ne(1))?; // Passes
verify_that!(0, ne(0))?; // Failspub fn ne<T>(expected: T) -> NEMatcher<T>Matches a value is not equal (in the sense of !=) to expected.
verify_that!(0, ne(1))?; // Passes
verify_that!(0, ne(0))?; // Fails