Code

fix spcurve test
authorjohanengelen <johanengelen@users.sourceforge.net>
Wed, 13 Aug 2008 19:10:27 +0000 (19:10 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Wed, 13 Aug 2008 19:10:27 +0000 (19:10 +0000)
src/display/curve-test.h

index c0b0e900b1371375aff2b24d2db722724e3ebd2b..8fd952290e6d365f981df684a8430e0d92df70ad 100644 (file)
@@ -227,7 +227,7 @@ public:
         pv.push_back(path3);
         TS_ASSERT_EQUALS( *(SPCurve(pv).second_point()) , Geom::Point(1,0));
         pv.insert(pv.begin(), path4);
-        TS_ASSERT_EQUALS( SPCurve(pv).second_point() == false, true );
+        TS_ASSERT_EQUALS( *SPCurve(pv).second_point(), Geom::Point(0,0) );
     }
 
     void testPenultimatePoint()