From 75d0505a60c942264d159f9185c75ead9af1198f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 12 Sep 2012 00:11:40 +0200 Subject: [PATCH] Overflow test for large types in Math::normalize() started working. I don't know what caused that... :-) --- src/Math/Test/MathTest.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Math/Test/MathTest.cpp b/src/Math/Test/MathTest.cpp index 862f1a15b..98b4c9034 100644 --- a/src/Math/Test/MathTest.cpp +++ b/src/Math/Test/MathTest.cpp @@ -73,12 +73,8 @@ void MathTest::denormalize() { CORRADE_COMPARE(Math::denormalize(1.0), numeric_limits::max()); CORRADE_COMPARE(Math::denormalize(1.0), numeric_limits::max()); - - { - CORRADE_EXPECT_FAIL("Denormalize doesn't work for large types well"); - CORRADE_COMPARE((Math::denormalize(1.0)), numeric_limits::max()); - CORRADE_COMPARE((Math::denormalize(1.0)), numeric_limits::max()); - } + CORRADE_COMPARE((Math::denormalize(1.0)), numeric_limits::max()); + CORRADE_COMPARE((Math::denormalize(1.0)), numeric_limits::max()); } void MathTest::clamp() {