added example used by Barend in his email to discuss the output of set operations

This commit is contained in:
Menelaos Karavelas
2014-02-26 12:55:56 +02:00
parent bd736c2e69
commit 52c2ce2df9
4 changed files with 32 additions and 0 deletions

View File

@@ -51,6 +51,13 @@ BOOST_AUTO_TEST_CASE( test_sym_difference_linestring_linestring )
typedef test_sym_difference_of_geometries<L, L, ML> tester;
tester()
(from_wkt<L>("LINESTRING(0 0,1 1,2 1,3 2)"),
from_wkt<L>("LINESTRING(0 2,1 1,2 1,3 0)"),
from_wkt<ML>("MULTILINESTRING((0 0,1 1),(2 1,3 2),\
(0 2,1 1),(2 1,3 0))"),
"llsdf00");
tester()
(from_wkt<L>("LINESTRING(0 0,5 0)"),
from_wkt<L>("LINESTRING(3 0,4 0)"),