mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 21:44:04 +00:00
[difference][test] increase tolerance to let it pass on clang (the subsequent
cases also have tolerance of 1e-10). Also increase printed precision to be able to investigate the problem
This commit is contained in:
parent
d25b47f627
commit
c5f31b17a4
@ -553,7 +553,7 @@ BOOST_AUTO_TEST_CASE( test_difference_linestring_linestring )
|
||||
from_wkt<L>("LINESTRING(0 -.2, 8 1)"),
|
||||
from_wkt<ML>("MULTILINESTRING((4 .4,2 8))"),
|
||||
"lldf31x",
|
||||
4.0 * std::numeric_limits<double>::epsilon()
|
||||
1e-10
|
||||
);
|
||||
|
||||
tester::apply
|
||||
@ -561,7 +561,7 @@ BOOST_AUTO_TEST_CASE( test_difference_linestring_linestring )
|
||||
from_wkt<L>("LINESTRING(0 -.2, 8 1)"),
|
||||
from_wkt<ML>("MULTILINESTRING((2 8,4 .4))"),
|
||||
"lldf31x-r",
|
||||
4.0 * std::numeric_limits<double>::epsilon()
|
||||
1e-10
|
||||
);
|
||||
|
||||
tester::apply
|
||||
|
@ -64,6 +64,7 @@ private:
|
||||
<< ", difference L/L: " << bg::wkt(geometry1)
|
||||
<< " " << bg::wkt(geometry2)
|
||||
<< " -> Expected: " << bg::wkt(mls_diff)
|
||||
<< std::setprecision(20)
|
||||
<< " computed: " << bg::wkt(mls_output) );
|
||||
|
||||
set_operation_output("difference", case_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user