template<class T>
Corrade::TestSuite::Compare::GreaterOrEqual class

Pseudo-type for verifying that value is greater than or equal to expected.

Prints both values if the first is not less than the second. Compared type needs to implement at least an operator>=() (explicitly) convertible to bool. Example usage:

float a = ;
CORRADE_COMPARE_AS(a, 9.28f, TestSuite::Compare::GreaterOrEqual);

See Comparing with pseudo-types for more information.