X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fgeometry%2Ftest%2Falgorithms%2Fbuffer%2Fbuffer_linestring_aimes.cpp;h=51dec91addfe8bef347504174613470763aa3968;hb=b32b81446b3b05102be0267e79203f59329c1d97;hp=2a1f08b870fad4e30c6d8a50aee971cc7614e5ff;hpb=215dd7151453fae88e6f968c975b6ce309d42dcf;p=ceph.git diff --git a/ceph/src/boost/libs/geometry/test/algorithms/buffer/buffer_linestring_aimes.cpp b/ceph/src/boost/libs/geometry/test/algorithms/buffer/buffer_linestring_aimes.cpp index 2a1f08b87..51dec91ad 100644 --- a/ceph/src/boost/libs/geometry/test/algorithms/buffer/buffer_linestring_aimes.cpp +++ b/ceph/src/boost/libs/geometry/test/algorithms/buffer/buffer_linestring_aimes.cpp @@ -468,10 +468,8 @@ void test_aimes() bg::strategy::buffer::end_flat end_flat; bg::strategy::buffer::end_round end_round(100); - double const tolerance = 1.0e-10; - // Aimes tested originally with 0.000018 degrees (around 2 m) - std::size_t self_ip_count = 0; + ut_settings settings(1.0e-10); int expectation_index = 0; for (int width = 18; width <= 36; width += 18, expectation_index += 2) @@ -487,15 +485,13 @@ void test_aimes() ( name.str(), testcases[i], join_miter, end_flat, expectations[i][expectation_index], - aimes_width, aimes_width, - self_ip_count, tolerance + aimes_width, settings ); test_one ( name.str(), testcases[i], join_round, end_round, expectations[i][expectation_index + 1], - aimes_width, aimes_width, - self_ip_count, tolerance + aimes_width, settings ); } catch(std::exception const& e) @@ -504,12 +500,6 @@ void test_aimes() } } } - - BOOST_CHECK_MESSAGE - ( - self_ip_count == 0, - "There are self-intersections: " << self_ip_count - ); }