UnitTest/Math: Fix Sphere test

This commit is contained in:
Lynix 2016-12-15 20:14:44 +01:00
parent 937fdef953
commit 2d3c6010be
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}