The test for FurthestPointDistance() was wrong also.

This commit is contained in:
Ryan Curtin
2014-05-20 18:34:49 +00:00
parent 0449ba43a0
commit e30506ec62
+1 -1
View File
@@ -1077,7 +1077,7 @@ BOOST_AUTO_TEST_CASE(FurthestPointDistanceTest)
BinarySpaceTree<HRectBound<2> >* node = nodeQueue.front();
nodeQueue.pop();
if (node->NumChildren() == 0)
if (node->NumChildren() != 0)
BOOST_REQUIRE_EQUAL(node->FurthestPointDistance(), 0.0);
else
{