void LineSegmentTest::testRightOf() { CPPUNIT_ASSERT( s1.rightOf(Point(3,1,0)) ); CPPUNIT_ASSERT( !s1.leftOf(Point(3,1,0)) ); CPPUNIT_ASSERT( !s1.rightOf(p1) ); }
void LineSegmentTest::testLeftOf() { CPPUNIT_ASSERT( s1.leftOf(Point(1,3,0)) ); CPPUNIT_ASSERT( !s3.rightOf(Point(1,3,0)) ); CPPUNIT_ASSERT( !s1.leftOf(p1) ); }