pub fn greater_than<'a, T>(expected: T) -> Box<dyn Matcher<'a, T> + 'a>where
T: PartialOrd + Debug + 'a,
Expand description
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));