UnitTest/Math: Fix Sphere test
This commit is contained in:
parent
937fdef953
commit
2d3c6010be
|
|
@ -84,7 +84,7 @@ SCENARIO("Sphere", "[MATH][SPHERE]")
|
||||||
THEN("Sphere must contain it and distance should be good")
|
THEN("Sphere must contain it and distance should be good")
|
||||||
{
|
{
|
||||||
CHECK(firstCenterAndUnit.Contains(point));
|
CHECK(firstCenterAndUnit.Contains(point));
|
||||||
CHECK(firstCenterAndUnit.Distance(point) == Approx(1.f));
|
CHECK(firstCenterAndUnit.Distance(point) == Approx(0.f));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue