[test][envelope][expand] Increase the precision in the error message.

This commit is contained in:
Adam Wulkiewicz 2016-04-19 03:20:13 +02:00
parent 4883808e58
commit c55aa0e9f5
2 changed files with 6 additions and 1 deletions

View File

@ -106,6 +106,8 @@ private:
write_geometry<Geometry>::apply(stream, geometry);
stream << std::setprecision(17);
stream << "; " << "expected: " << bg::dsv(expected)
<< ", " << "detected: " << bg::dsv(detected);

View File

@ -106,6 +106,9 @@ private:
<< "geometry: ";
write_geometry<Geometry>::apply(stream, geometry);
stream << std::setprecision(17);
stream << "; " << "expected: " << bg::dsv(expected1);
if (expected_are_different)
@ -712,7 +715,7 @@ BOOST_AUTO_TEST_CASE( expand_segment_with_height )
tester::apply("sh01",
from_wkt<B>("BOX(20 20 100,50 50 1000)"),
from_wkt<G>("SEGMENT(10 10 150,40 40 500)"),
10, 10, 100, 50, 50, 1000);
10, 10, 100, 50, 50, 1001);
tester::apply("sh02",
from_wkt<B>("BOX(20 20 100,50 50 1000)"),