[test] add new testcase to union/difference

This commit is contained in:
Barend Gehrels
2017-12-06 15:39:53 +01:00
parent 080f0f22f4
commit 18eb8c5cd7
2 changed files with 4 additions and 0 deletions

View File

@@ -433,6 +433,8 @@ void test_areal()
TEST_DIFFERENCE(case_recursive_boxes_80, 1, 0.5, 2, 0.75, 3);
#endif
TEST_DIFFERENCE(case_recursive_boxes_81, 3, 5.0, 6, 6.75, 6);
{
ut_settings sym_settings;
#if defined(BOOST_GEOMETRY_NO_ROBUSTNESS)

View File

@@ -414,6 +414,8 @@ void test_areal()
TEST_UNION(case_recursive_boxes_80, 2, 1, -1, 1.5);
#endif
TEST_UNION(case_recursive_boxes_81, 5, 0, -1, 15.5);
test_one<Polygon, MultiPolygon, MultiPolygon>("ggl_list_20120915_h2_a",
ggl_list_20120915_h2[0], ggl_list_20120915_h2[1],
1, 0, 12, 23.0); // Area from SQL Server