diff --git a/src/db/unit_tests/dbPathTests.cc b/src/db/unit_tests/dbPathTests.cc index 4bb44cb5b..deb3fe22e 100644 --- a/src/db/unit_tests/dbPathTests.cc +++ b/src/db/unit_tests/dbPathTests.cc @@ -372,5 +372,10 @@ TEST(12) path.hull (pts, 4); EXPECT_EQ (to_string (pts), "(286,521;454,350;522,282;240,0;70,170;0,241)"); + + tl::Extractor ("(143,381;262,260;381,141) w=1000 bx=0 ex=0 r=false").read (path); + + path.hull (pts, 4); + EXPECT_EQ (to_string (pts), "(286,521;454,350;522,282;240,0;70,170;0,241;499,732;564,666;735,495;27,-213;-40,-146;-213,30)"); }