[intersection] testcase was already fixed by colocations solution,

remove #ifdef and add testcase
This commit is contained in:
Barend Gehrels 2015-10-31 11:35:22 +01:00
parent a1e4a65f9a
commit 77299c8c22
2 changed files with 18 additions and 5 deletions

View File

@ -895,4 +895,12 @@ static std::string mysql_21964049[2] =
"POLYGON((7 4,-14 10,7 -17,7 4),(7 1,0 3,-2 4,7 1))"
};
static std::string mysql_21964465[2] =
{
"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))",
};
#endif // BOOST_GEOMETRY_TEST_OVERLAY_CASES_HPP

View File

@ -324,12 +324,17 @@ void test_areal()
test_one<Polygon, Polygon, Polygon>("buffer_mp2", buffer_mp2[0], buffer_mp2[1],
1, 29, 0.457126);
#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
test_one<Polygon, Polygon, Polygon>("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))",
test_one<Polygon, Polygon, Polygon>("case_80",
case_80[0], case_80[1],
0, -1, 0.0);
test_one<Polygon, Polygon, Polygon>("mysql_21964049",
mysql_21964049[0], mysql_21964049[1],
0, -1, 0.0);
test_one<Polygon, Polygon, Polygon>("mysql_21964465",
mysql_21964465[0], mysql_21964465[1],
0, -1, 0.0);
#endif
return;