From 71148c49a35c317b664f583b8b1bb6664232706e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bartoletti?= Date: Tue, 10 Oct 2023 14:51:35 +0200 Subject: [PATCH] fix text: replace -0.0 by 0.0 --- test/unit/SFCGAL/algorithm/Visibility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/SFCGAL/algorithm/Visibility.cpp b/test/unit/SFCGAL/algorithm/Visibility.cpp index 28351616..2971f9c7 100644 --- a/test/unit/SFCGAL/algorithm/Visibility.cpp +++ b/test/unit/SFCGAL/algorithm/Visibility.cpp @@ -107,7 +107,7 @@ BOOST_AUTO_TEST_CASE(testVisibility_SegmentInPolygon) std::unique_ptr result( algorithm::visibility(poly, startPoint, endPoint)); std::string expectedWkt = - "POLYGON((1.0 2.0,0.0 4.0,0.0 -0.0,4.0 0.0,4.0 4.0,1.0 2.0))"; + "POLYGON((1.0 2.0,0.0 4.0,0.0 0.0,4.0 0.0,4.0 4.0,1.0 2.0))"; BOOST_CHECK_EQUAL(result->asText(1), expectedWkt); }