added a couple of additional test cases

This commit is contained in:
Menelaos Karavelas
2014-02-25 02:07:08 +02:00
parent ea421976c5
commit 8d510d140a
2 changed files with 29 additions and 0 deletions

View File

@@ -444,6 +444,21 @@ BOOST_AUTO_TEST_CASE( test_intersection_linestring_linestring )
"lli21"
);
#endif
tester()
(from_wkt<L>("LINESTRING(0 0,10 0)"),
from_wkt<L>("LINESTRING(1 0,4 0,2 1,5 1,4 0,8 0)"),
from_wkt<ML>("MULTILINESTRING((1 0,4 0),(4 0,8 0))"),
"lli22"
);
tester()
(from_wkt<L>("LINESTRING(0 0,10 0)"),
from_wkt<L>("LINESTRING(4 0,5 0,5 1,1 1,1 0,4 0)"),
from_wkt<ML>("MULTILINESTRING((1 0,5 0))"),
from_wkt<ML>("MULTILINESTRING((1 0,4 0),(4 0,5 0))"),
"lli23"
);
}