From 62176eac1eab86c70d551a2d1c466d29dfad427e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 24 Apr 2016 00:43:40 +0200 Subject: [PATCH] Math: oh I screwed up again! I blame my Python calculator :P --- src/Magnum/Math/Test/ColorTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Math/Test/ColorTest.cpp b/src/Magnum/Math/Test/ColorTest.cpp index 378f8d567..8140b757a 100644 --- a/src/Magnum/Math/Test/ColorTest.cpp +++ b/src/Magnum/Math/Test/ColorTest.cpp @@ -233,8 +233,8 @@ void ColorTest::literals() { CORRADE_COMPARE(b, (Color4ub{0x33, 0xb2, 0x7f, 0xcc})); /* Not constexpr yet */ - CORRADE_COMPARE(0x33b27f_rgbf, (Color3{0.2f, 0.7f, 0.5f})); - CORRADE_COMPARE(0x33b27fcc_rgbaf, (Color4{0.2f, 0.7f, 0.5f, 0.8f})); + CORRADE_COMPARE(0x33b27f_rgbf, (Color3{0.2, 0.698039f, 0.498039f})); + CORRADE_COMPARE(0x33b27fcc_rgbaf, (Color4{0.2, 0.698039f, 0.498039f, 0.8f})); } void ColorTest::colors() {