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