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