From 362aec8aa185ecbb28f71dda330c0863b0fdf20c Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Thu, 18 Jun 2015 08:40:32 +0300 Subject: [PATCH] [test][algorithms][expand] increase precision tolerance for a test case (to account for failing unit tests for some platforms) --- test/algorithms/expand_on_spheroid.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/algorithms/expand_on_spheroid.cpp b/test/algorithms/expand_on_spheroid.cpp index 8199fe842..98db446ad 100644 --- a/test/algorithms/expand_on_spheroid.cpp +++ b/test/algorithms/expand_on_spheroid.cpp @@ -616,7 +616,8 @@ BOOST_AUTO_TEST_CASE( expand_segment ) tester::apply("s03", from_wkt("BOX(5 5,50 10)"), from_wkt("SEGMENT(40 10,10 10)"), - 5, 5, 50, 10.34527004614999); + 5, 5, 50, 10.34527004614999, + 4.0 * std::numeric_limits::epsilon()); // segment ending at the north pole tester::apply("s04",