mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-12 12:12:10 +00:00
[test] add testcases (currently going well)
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -213,6 +213,10 @@ void test_areal()
|
||||
// Generates a polygon with two interiors, i/o a multipoly with 3 rings
|
||||
TEST_DIFFERENCE(issue_869_a, 3, 3600, 0, 0, 1);
|
||||
#endif
|
||||
|
||||
TEST_DIFFERENCE(issue_888_34, 22, 0.2506824, 6, 0.0253798, 28);
|
||||
TEST_DIFFERENCE(issue_888_37, 15, 0.0451408, 65, 0.3014843, 80);
|
||||
|
||||
// Areas and #clips correspond with POSTGIS (except sym case)
|
||||
test_one<Polygon, MultiPolygon, MultiPolygon>("case_101_multi",
|
||||
case_101_multi[0], case_101_multi[1],
|
||||
|
||||
@@ -380,6 +380,9 @@ void test_areal()
|
||||
|
||||
TEST_INTERSECTION(issue_869_c, 3, -1, 3600);
|
||||
|
||||
TEST_INTERSECTION(issue_888_34, 7, -1, 0.0256838);
|
||||
TEST_INTERSECTION(issue_888_37, 13, -1, 0.0567043);
|
||||
|
||||
TEST_INTERSECTION(mysql_23023665_7, 2, 11, 9.80505786783);
|
||||
TEST_INTERSECTION(mysql_23023665_12, 2, 0, 11.812440191387557);
|
||||
TEST_INTERSECTION(mysql_regression_1_65_2017_08_31, 2, -1, 29.9022122);
|
||||
|
||||
@@ -438,6 +438,9 @@ void test_areal()
|
||||
// generates only one polygon with two interiors)
|
||||
TEST_UNION(issue_869_b, 3, 1, -1, 3600);
|
||||
|
||||
TEST_UNION(issue_888_34, 15, 0, -1, 0.3017459);
|
||||
TEST_UNION(issue_888_37, 52, 3, -1, 0.4033294);
|
||||
|
||||
#if defined(BOOST_GEOMETRY_USE_KRAMER_RULE)
|
||||
// Two polygons, should ideally be merged
|
||||
TEST_UNION(mail_2019_01_21_johan, 2, 0, -1, 0.00058896);
|
||||
|
||||
Reference in New Issue
Block a user