mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 05:24:02 +00:00
[test] cleanup already succeeding testcases
This commit is contained in:
parent
fcb992de6c
commit
455822d6b1
@ -23,9 +23,9 @@
|
|||||||
[heading Boost 1.81]
|
[heading Boost 1.81]
|
||||||
[/=================]
|
[/=================]
|
||||||
|
|
||||||
[*Major improvements]
|
[*Solved issues]
|
||||||
|
|
||||||
* [@https://github.com/boostorg/geometry/pull/1045 1045] Support geographic buffer for linestrings (side, joins)
|
* [@https://github.com/boostorg/geometry/issues/1076 1076] Union: in rare cases it might miss one polygon
|
||||||
|
|
||||||
[/=================]
|
[/=================]
|
||||||
[heading Boost 1.80]
|
[heading Boost 1.80]
|
||||||
|
@ -391,9 +391,7 @@ void test_all()
|
|||||||
test_one<linestring, polygon>("mysql_25662426a_left_1", mysql_25662426a, join_round32, end_round32, 30.1214, 1.0, settings, 0.0);
|
test_one<linestring, polygon>("mysql_25662426a_left_1", mysql_25662426a, join_round32, end_round32, 30.1214, 1.0, settings, 0.0);
|
||||||
test_one<linestring, polygon>("mysql_25662426a_left_2", mysql_25662426a, join_round32, end_round32, 66.4858, 2.0, ut_settings(0.01, false), 0.0); // It has a self touching point
|
test_one<linestring, polygon>("mysql_25662426a_left_2", mysql_25662426a, join_round32, end_round32, 66.4858, 2.0, ut_settings(0.01, false), 0.0); // It has a self touching point
|
||||||
test_one<linestring, polygon>("mysql_25662426a_left_3", mysql_25662426a, join_round32, end_round32, 108.3305, 3.0, settings, 0.0);
|
test_one<linestring, polygon>("mysql_25662426a_left_3", mysql_25662426a, join_round32, end_round32, 108.3305, 3.0, settings, 0.0);
|
||||||
//#if ! defined(BOOST_GEOMETRY_USE_RESCALING) || defined(BOOST_GEOMETRY_TEST_FAILURES)
|
|
||||||
test_one<linestring, polygon>("mysql_25662426a_left_4", mysql_25662426a, join_round32, end_round32, 155.5128, 4.0, specific_settings, 0.0);
|
test_one<linestring, polygon>("mysql_25662426a_left_4", mysql_25662426a, join_round32, end_round32, 155.5128, 4.0, specific_settings, 0.0);
|
||||||
//#endif
|
|
||||||
test_one<linestring, polygon>("mysql_25662426a_left_5", mysql_25662426a, join_round32, end_round32, 208.1289, 5.0, specific_settings, 0.0);
|
test_one<linestring, polygon>("mysql_25662426a_left_5", mysql_25662426a, join_round32, end_round32, 208.1289, 5.0, specific_settings, 0.0);
|
||||||
test_one<linestring, polygon>("mysql_25662426a_left_10", mysql_25662426a, join_round32, end_round32, 554.8818, 10.0, specific_settings, 0.0);
|
test_one<linestring, polygon>("mysql_25662426a_left_10", mysql_25662426a, join_round32, end_round32, 554.8818, 10.0, specific_settings, 0.0);
|
||||||
|
|
||||||
|
@ -92,7 +92,6 @@ void test_all()
|
|||||||
1, 5, 1.0,
|
1, 5, 1.0,
|
||||||
1, 5, 1.0);
|
1, 5, 1.0);
|
||||||
|
|
||||||
#if defined(BOOST_GEOMETRY_USE_RESCALING) || defined(BOOST_GEOMETRY_TEST_FAILURES)
|
|
||||||
// Two outputs, but the small one might be discarded
|
// Two outputs, but the small one might be discarded
|
||||||
// (depending on point-type / compiler)
|
// (depending on point-type / compiler)
|
||||||
test_one<polygon, polygon, polygon>("distance_zero",
|
test_one<polygon, polygon, polygon>("distance_zero",
|
||||||
@ -100,7 +99,6 @@ void test_all()
|
|||||||
count_set(1, 2), -1, 8.7048386,
|
count_set(1, 2), -1, 8.7048386,
|
||||||
count_set(1, 2), -1, 0.0098387,
|
count_set(1, 2), -1, 0.0098387,
|
||||||
tolerance(0.001));
|
tolerance(0.001));
|
||||||
#endif
|
|
||||||
|
|
||||||
test_one<polygon, polygon, polygon>("equal_holes_disjoint",
|
test_one<polygon, polygon, polygon>("equal_holes_disjoint",
|
||||||
equal_holes_disjoint[0], equal_holes_disjoint[1],
|
equal_holes_disjoint[0], equal_holes_disjoint[1],
|
||||||
|
@ -107,6 +107,8 @@ void check_result(IntersectionOutput const& intersection_output,
|
|||||||
<< " type: " << (type_for_assert_message<G1, G2>()));
|
<< " type: " << (type_for_assert_message<G1, G2>()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
boost::ignore_unused(n);
|
||||||
|
|
||||||
#if ! defined(BOOST_GEOMETRY_NO_BOOST_TEST)
|
#if ! defined(BOOST_GEOMETRY_NO_BOOST_TEST)
|
||||||
#if defined(BOOST_GEOMETRY_USE_RESCALING)
|
#if defined(BOOST_GEOMETRY_USE_RESCALING)
|
||||||
// Without rescaling, point count might easily differ (which is no problem)
|
// Without rescaling, point count might easily differ (which is no problem)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user