From 597223e993c5acc3ce9e185e8791448de4f31ffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 20 Oct 2018 14:51:07 +0200 Subject: [PATCH] Math: test a bit more. --- src/Magnum/Math/Test/BoolVectorTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Magnum/Math/Test/BoolVectorTest.cpp b/src/Magnum/Math/Test/BoolVectorTest.cpp index e4e8d72ba..275df2126 100644 --- a/src/Magnum/Math/Test/BoolVectorTest.cpp +++ b/src/Magnum/Math/Test/BoolVectorTest.cpp @@ -246,6 +246,8 @@ void BoolVectorTest::convertBool() { /* The ! operation should *just work* using the bool conversion operator */ CORRADE_VERIFY(BoolVector19(0xff, 0xff, 0x07)); CORRADE_VERIFY(!BoolVector19(0xff, 0xff, 0x04)); + CORRADE_VERIFY(!BoolVector19(0x00, 0x00, 0x00)); + CORRADE_VERIFY(!!BoolVector19(0xff, 0xff, 0xff)); /* Implicit conversion is not allowed */ CORRADE_VERIFY(!(std::is_convertible::value));