From 3d778855559223da15928e46438ac2ba3bbc3944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 15 Sep 2012 00:00:41 +0200 Subject: [PATCH] Revert "Overflow test for large types in Math::normalize() started working." It was working because of some weird state of my build dir, expecting fail again. This reverts commit 75d0505a60c942264d159f9185c75ead9af1198f. --- src/Math/Test/MathTest.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Math/Test/MathTest.cpp b/src/Math/Test/MathTest.cpp index 98b4c9034..862f1a15b 100644 --- a/src/Math/Test/MathTest.cpp +++ b/src/Math/Test/MathTest.cpp @@ -73,8 +73,12 @@ void MathTest::denormalize() { 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()); + + { + 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()); + } } void MathTest::clamp() {