From 2d3c6010be50a70062c4463b05a65ad325e0e969 Mon Sep 17 00:00:00 2001 From: Lynix Date: Thu, 15 Dec 2016 20:14:44 +0100 Subject: [PATCH] UnitTest/Math: Fix Sphere test --- tests/Engine/Math/Sphere.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Engine/Math/Sphere.cpp b/tests/Engine/Math/Sphere.cpp index 869987d25..a6f23236d 100644 --- a/tests/Engine/Math/Sphere.cpp +++ b/tests/Engine/Math/Sphere.cpp @@ -84,7 +84,7 @@ SCENARIO("Sphere", "[MATH][SPHERE]") THEN("Sphere must contain it and distance should be good") { CHECK(firstCenterAndUnit.Contains(point)); - CHECK(firstCenterAndUnit.Distance(point) == Approx(1.f)); + CHECK(firstCenterAndUnit.Distance(point) == Approx(0.f)); } }