diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-08-13 19:10:27 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-08-13 19:10:27 +0000 |
| commit | ccd034b3efccaf07d74497120981bfbd78d1dc77 (patch) | |
| tree | 9cda6c7b76faeca5455495847072086981bf03d6 | |
| parent | make spcurve::first_point and last_point boost::optional (diff) | |
| download | inkscape-ccd034b3efccaf07d74497120981bfbd78d1dc77.tar.gz inkscape-ccd034b3efccaf07d74497120981bfbd78d1dc77.zip | |
fix spcurve test
(bzr r6618)
| -rw-r--r-- | src/display/curve-test.h | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
