From: johanengelen Date: Thu, 11 Sep 2008 22:07:07 +0000 (+0000) Subject: fix curve test. curve with empty pathvector is *not* closed. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=29c9448f89266af28fee59a311378b94d562de45;p=inkscape.git fix curve test. curve with empty pathvector is *not* closed. --- diff --git a/src/display/curve-test.h b/src/display/curve-test.h index 8fd952290..d779fe09b 100644 --- a/src/display/curve-test.h +++ b/src/display/curve-test.h @@ -120,7 +120,7 @@ public: void testIsClosed() { - TS_ASSERT(SPCurve(Geom::PathVector()).is_closed()); // An empty conjuction is true + TS_ASSERT(!SPCurve(Geom::PathVector()).is_closed()); Geom::PathVector pv(1, Geom::Path()); TS_ASSERT(!SPCurve(pv).is_closed()); pv[0].close();