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