[test][is_valid] Add test case failing with Midpoint passed to point_on_border.

This commit is contained in:
Adam Wulkiewicz 2018-10-12 03:35:33 +02:00
parent dcaadf6257
commit 9ebdda95cc

View File

@ -1,7 +1,7 @@
// Boost.Geometry (aka GGL, Generic Geometry Library)
// Unit Test
// Copyright (c) 2014-2015, Oracle and/or its affiliates.
// Copyright (c) 2014-2018, Oracle and/or its affiliates.
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@ -869,6 +869,9 @@ inline void test_open_multipolygons()
test::apply("mpg09",
"MULTIPOLYGON(((0 0,10 0,10 10,0 10)),((0 0,9 1,9 2)))",
false);
test::apply("mpg09_2",
"MULTIPOLYGON(((0 0,5 1,10 0,10 10,0 10)),((1 1,9 1,9 2)))",
false);
// one polygon inside another and boundaries not touching
test::apply("mpg10",