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