summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 124efe1)
raw | patch | inline | side by side (parent: 124efe1)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 28 Sep 2009 22:16:57 +0000 (22:16 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 28 Sep 2009 22:16:57 +0000 (22:16 +0000) |
src/display/curve-test.h | patch | blob | history |
index d779fe09b07ca1056bb394ba648a80018155d10f..784ccee8938b98bc345c3997977011498f219a91 100644 (file)
--- a/src/display/curve-test.h
+++ b/src/display/curve-test.h
pv[0] = path1;
TS_ASSERT_EQUALS(SPCurve(pv).nodes_in_path() , 3u);
pv[0] = path2;
- TS_ASSERT_EQUALS(SPCurve(pv).nodes_in_path() , 3u);
+ TS_ASSERT_EQUALS(SPCurve(pv).nodes_in_path() , 2u); // zero length closing segments do not increase the nodecount.
pv[0] = path3;
TS_ASSERT_EQUALS(SPCurve(pv).nodes_in_path() , 5u);
pv[0] = path4;