template<class T>
NotDivisible class new in 2020.06
Pseudo-type for verifying that value is not divisible by.
Prints both values if the first is divisible by the second. Compared type needs to implement at least an operator%()
returning the same type. Example usage:
int a = …; CORRADE_COMPARE_AS(a, 4, TestSuite::Compare::NotDivisible);
See NotAligned for similar functionality specialized for pointers. See Comparing with pseudo-types for more information.