From 29c9448f89266af28fee59a311378b94d562de45 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Thu, 11 Sep 2008 22:07:07 +0000 Subject: [PATCH] fix curve test. curve with empty pathvector is *not* closed. --- src/display/curve-test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.30.2