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

Pseudo-type for verifying that value is greater than 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::Greater);

See Comparing with pseudo-types for more information.