Corrade/TestSuite/Compare/Numeric.h file

Class Corrade::TestSuite::Compare::Less, Corrade::TestSuite::Compare::LessOrEqual, Corrade::TestSuite::Compare::GreaterOrEqual, Corrade::TestSuite::Compare::Greater, Corrade::TestSuite::Compare::Around, Corrade::TestSuite::Compare::NotEqual, Corrade::TestSuite::Compare::Divisible, Corrade::TestSuite::Compare::NotDivisible, function Corrade::TestSuite::Compare::around()

Namespaces

namespace Corrade
Root namespace.
namespace Corrade::TestSuite
Test suite.
namespace Corrade::TestSuite::Compare
Various test suite comparison helpers.

Classes

template<class T>
class Corrade::TestSuite::Compare::Less
Pseudo-type for verifying that value is less than expected.
template<class T>
class Corrade::TestSuite::Compare::LessOrEqual
Pseudo-type for verifying that value is less than or equal to expected.
template<class T>
class Corrade::TestSuite::Compare::GreaterOrEqual
Pseudo-type for verifying that value is greater than or equal to expected.
template<class T>
class Corrade::TestSuite::Compare::Greater
Pseudo-type for verifying that value is greater than expected.
template<class T>
class Corrade::TestSuite::Compare::Around
Pseudo-type for verifying that value is in given bounds.
template<class T>
class Corrade::TestSuite::Compare::NotEqual new in Git master
Pseudo-type for verifying that value is not equal to.
template<class T>
class Corrade::TestSuite::Compare::Divisible new in 2020.06
Pseudo-type for verifying that value is divisible by.
template<class T>
class Corrade::TestSuite::Compare::NotDivisible new in 2020.06
Pseudo-type for verifying that value is not divisible by.
class Corrade::TestSuite::Compare::Aligned new in Git master
Pseudo-type for verifying that a pointer is aligned.
class Corrade::TestSuite::Compare::NotAligned new in Git master
Pseudo-type for verifying that value is not divisible by.

Functions

template<class T>
auto around(T epsilon) -> Around<T>
Make a pseudo-type for verifying that value is in given bounds.