mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 23:24:02 +00:00
[test][is_valid] Add test failing with midpoint in point_on_border.
This commit is contained in:
parent
fbe8f51cd1
commit
c15b32944d
@ -1,9 +1,10 @@
|
|||||||
// Boost.Geometry (aka GGL, Generic Geometry Library)
|
// Boost.Geometry (aka GGL, Generic Geometry Library)
|
||||||
// Unit Test
|
// Unit Test
|
||||||
|
|
||||||
// Copyright (c) 2015, Oracle and/or its affiliates.
|
// Copyright (c) 2015-2018, Oracle and/or its affiliates.
|
||||||
|
|
||||||
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
|
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
|
||||||
|
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
|
||||||
|
|
||||||
// Licensed under the Boost Software License version 1.0.
|
// Licensed under the Boost Software License version 1.0.
|
||||||
// http://www.boost.org/users/license.html
|
// http://www.boost.org/users/license.html
|
||||||
@ -851,6 +852,9 @@ void test_open_multipolygons()
|
|||||||
test::apply("mpg09",
|
test::apply("mpg09",
|
||||||
"MULTIPOLYGON(((0 0,10 0,10 10,0 10)),((0 0,9 1,9 2)))",
|
"MULTIPOLYGON(((0 0,10 0,10 10,0 10)),((0 0,9 1,9 2)))",
|
||||||
bg::failure_intersecting_interiors);
|
bg::failure_intersecting_interiors);
|
||||||
|
test::apply("mpg09_2",
|
||||||
|
"MULTIPOLYGON(((0 0,5 1,10 0,10 10,0 10)),((1 1,9 1,9 2)))",
|
||||||
|
bg::failure_intersecting_interiors);
|
||||||
|
|
||||||
// one polygon inside another and boundaries not touching
|
// one polygon inside another and boundaries not touching
|
||||||
test::apply("mpg10",
|
test::apply("mpg10",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user