From: johanengelen Date: Wed, 13 Aug 2008 19:10:27 +0000 (+0000) Subject: fix spcurve test X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f337e2fc1cb646566166951c209a73fa3cbdfddd;p=inkscape.git fix spcurve test --- diff --git a/src/display/curve-test.h b/src/display/curve-test.h index c0b0e900b..8fd952290 100644 --- a/src/display/curve-test.h +++ b/src/display/curve-test.h @@ -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()