diff --git a/src/Magnum/Math/Test/TypeTraitsTest.cpp b/src/Magnum/Math/Test/TypeTraitsTest.cpp index cab9d75b7..8f3bdbf15 100644 --- a/src/Magnum/Math/Test/TypeTraitsTest.cpp +++ b/src/Magnum/Math/Test/TypeTraitsTest.cpp @@ -281,6 +281,8 @@ template void TypeTraitsTest::equalsFloatingPointInfinity() { CORRADE_VERIFY(TypeTraits::equals(Constants::inf(), Constants::inf())); + CORRADE_VERIFY(!TypeTraits::equals(Constants::inf(), + -Constants::inf())); } template void TypeTraitsTest::equalsFloatingPointNaN() {