template<class T>
Less class
Pseudo-type for verifying that value is less 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::Less);
See Comparing with pseudo-types for more information.