From 34a04ae8aee776819ae1254bc17619c976b554e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 23 Nov 2013 10:43:21 +0100 Subject: [PATCH] Math: minor test cleanup. --- src/Math/Test/Vector2Test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Math/Test/Vector2Test.cpp b/src/Math/Test/Vector2Test.cpp index d36c8e935..f2b2a9873 100644 --- a/src/Math/Test/Vector2Test.cpp +++ b/src/Math/Test/Vector2Test.cpp @@ -199,8 +199,7 @@ void Vector2Test::perpendicular() { } void Vector2Test::aspectRatio() { - const Vector2 a(3.0f, 4.0f); - CORRADE_COMPARE(a.aspectRatio(), 0.75f); + CORRADE_COMPARE(Vector2(3.0f, 4.0f).aspectRatio(), 0.75f); } void Vector2Test::swizzleType() {