Function galvanic_assert::matchers::lt
[−]
[src]
pub fn lt<'a, T: PartialOrd + Debug + 'a>(
expected: T
) -> Box<Matcher<'a, T> + 'a>
Matches if the asserted value is less than the expected value.
This is the same as [less_than].
Examples
use galvanic_assert::matchers::*; assert_that!(&(1+1), less_than(3));