Code

fix curve test. curve with empty pathvector is *not* closed.
authorjohanengelen <johanengelen@users.sourceforge.net>
Thu, 11 Sep 2008 22:07:07 +0000 (22:07 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Thu, 11 Sep 2008 22:07:07 +0000 (22:07 +0000)
src/display/curve-test.h

index 8fd952290e6d365f981df684a8430e0d92df70ad..d779fe09b07ca1056bb394ba648a80018155d10f 100644 (file)
@@ -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();