From 59808c364eeded8f451fbc394152d7ab3ccaf207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 3 Aug 2013 19:36:55 +0200 Subject: [PATCH] Math: minor test code reorganization. --- src/Math/Test/VectorTest.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Math/Test/VectorTest.cpp b/src/Math/Test/VectorTest.cpp index ad7cc83c4..3b45e58da 100644 --- a/src/Math/Test/VectorTest.cpp +++ b/src/Math/Test/VectorTest.cpp @@ -147,16 +147,16 @@ void VectorTest::construct() { CORRADE_COMPARE(a, Vector4(1.0f, 2.0f, -3.0f, 4.5f)); } -void VectorTest::constructDefault() { - constexpr Vector4 a; - CORRADE_COMPARE(a, Vector4(0.0f, 0.0f, 0.0f, 0.0f)); -} - void VectorTest::constructFromData() { Float data[] = { 1.0f, 2.0f, 3.0f, 4.0f }; CORRADE_COMPARE(Vector4::from(data), Vector4(1.0f, 2.0f, 3.0f, 4.0f)); } +void VectorTest::constructDefault() { + constexpr Vector4 a; + CORRADE_COMPARE(a, Vector4(0.0f, 0.0f, 0.0f, 0.0f)); +} + void VectorTest::constructOneValue() { #ifndef CORRADE_GCC46_COMPATIBILITY constexpr Vector4 a(7.25f);