Commit 2f92c986 authored by kkrish's avatar kkrish

minor updates

parent 1ac3b446
......@@ -35,6 +35,7 @@ BOOST_AUTO_TEST_SUITE(WallTest)
BOOST_AUTO_TEST_CASE(Wall_Constr_Test)
{
BOOST_MESSAGE("starting wall constructor test");
Wall W1;
Point P1;
BOOST_CHECK(W1.GetPoint1() == P1 && W1.GetPoint2() == P1);
......@@ -50,6 +51,7 @@ BOOST_AUTO_TEST_CASE(Wall_Constr_Test)
// GetType test
BOOST_CHECK(W2.GetType() == type[i%2]);
}
BOOST_MESSAGE("Leaving wall constructor test");
}
......
......@@ -211,7 +211,7 @@ bool Obstacle::Contains(const Point& ped) const
bool Obstacle::ConvertLineToPoly()
{
if(_isClosed==0.0)
if(_isClosed==0)
{
char tmp[CLENGTH];
sprintf(tmp, "INFO: \tObstacle [%d] is not closed. Not converting to polyline.\n", _id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment