[test][buffer] Add tests for Areal and negative distance (failing for polygon with hole and big distance).

This commit is contained in:
Adam Wulkiewicz
2015-02-18 00:35:29 +01:00
parent 7f9b2f86f8
commit bd6e07797f
2 changed files with 26 additions and 0 deletions

View File

@@ -419,6 +419,14 @@ void test_all()
test_one<multi_polygon_type, polygon_type>("rt_u12", rt_u12, join_miter, end_flat, 999, 1.0);
test_one<multi_polygon_type, polygon_type>("rt_u13", rt_u13, join_miter, end_flat, 115.4853, 1.0);
#endif
{
bg::strategy::buffer::join_round join_round32(32);
bg::strategy::buffer::end_round end_round32(32);
test_one<multi_polygon_type, polygon_type>("mysql_report_2015_02_17_passing",
"MULTIPOLYGON(((0 0,0 10,10 10,10 0,0 0)),((10 10,10 20,20 20,20 10,10 10)))",
join_round32, end_round32, 64*2, -1);
}
}
int test_main(int, char* [])