template<class T>
Divisible class new in 2020.06
Pseudo-type for verifying that value is divisible by.
Prints both values if the first is not 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::Divisible);
See Aligned for similar functionality specialized for pointers. See Comparing with pseudo-types for more information.