mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 21:44:04 +00:00
[test][disjoint] Add test case from ticket 10647.
This commit is contained in:
parent
a7ff44f8d0
commit
4a543c388a
@ -1505,6 +1505,16 @@ inline void test_polygon_polygon()
|
||||
from_wkt<PL>("POLYGON((0 0,9 0,9 9,0 9),(3 3,3 6,6 6,6 3))"),
|
||||
from_wkt<PL>("POLYGON((2 2,7 2,7 7,2 7))"),
|
||||
false);
|
||||
|
||||
{
|
||||
typedef bg::model::polygon<P> PL; // cw, closed
|
||||
|
||||
// https://svn.boost.org/trac/boost/ticket/10647
|
||||
tester::apply("ticket-10647",
|
||||
from_wkt<PL>("POLYGON((0 0, 0 5, 5 5, 5 0, 0 0)(1 1, 4 1, 4 4, 1 4, 1 1))"),
|
||||
from_wkt<PL>("POLYGON((2 2, 2 3, 3 3, 3 2, 2 2))"),
|
||||
true);
|
||||
}
|
||||
}
|
||||
|
||||
template <typename P>
|
||||
|
Loading…
x
Reference in New Issue
Block a user