From 7ddeab4f056e16442e12e602bef4faabda6d82f0 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 22 Oct 2015 22:05:22 +0200 Subject: [PATCH] [test][intersection] Add failing test case. --- .../set_operations/intersection/intersection.cpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/test/algorithms/set_operations/intersection/intersection.cpp b/test/algorithms/set_operations/intersection/intersection.cpp index 58db253d8..53676cc8e 100644 --- a/test/algorithms/set_operations/intersection/intersection.cpp +++ b/test/algorithms/set_operations/intersection/intersection.cpp @@ -324,14 +324,20 @@ void test_areal() test_one("buffer_mp2", buffer_mp2[0], buffer_mp2[1], 1, 29, 0.457126); +#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING + test_one("mysql_21964465", + "POLYGON((0 0,0 10,10 10,10 0, 0 0), (0 8, 4 4, 4 6, 0 8))", + "POLYGON((0 8,-8 8,-2 2,0 8))", + 0, -1, 0.0); +#endif + return; - test_one( - "polygon_pseudo_line", - "Polygon((0 0,0 4,4 4,4 0,0 0))", - "Polygon((2 -2,2 -1,2 6,2 -2))", - 5, 22, 1.1901714); + "polygon_pseudo_line", + "Polygon((0 0,0 4,4 4,4 0,0 0))", + "Polygon((2 -2,2 -1,2 6,2 -2))", + 5, 22, 1.1901714); } template