mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 13:34:10 +00:00
[test][is_valid] add a few more test cases
This commit is contained in:
parent
332eb42789
commit
4ab3bd3529
@ -434,6 +434,12 @@ void test_linestrings()
|
||||
AllowSpikes);
|
||||
test::apply(from_wkt<G>("LINESTRING(0 0,1 0,1 1,5 5,4 4,4 0)"),
|
||||
AllowSpikes);
|
||||
test::apply(from_wkt<G>("LINESTRING(0 0,0 0,1 0,1 0,1 0,0 0,0 0,2 0)"),
|
||||
AllowSpikes);
|
||||
test::apply(from_wkt<G>("LINESTRING(0 0,1 0,0 0,2 0,0 0,3 0,0 0,4 0)"),
|
||||
AllowSpikes);
|
||||
test::apply(from_wkt<G>("LINESTRING(0 0,1 0,0 0,2 0,0 0,3 0,0 0,4 0,0 0)"),
|
||||
AllowSpikes);
|
||||
|
||||
// other examples
|
||||
test::apply(from_wkt<G>("LINESTRING(0 0,10 0,10 10,5 0,4 0)"), true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user