Skip to content

Commit

Permalink
fix text: replace -0.0 by 0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Oct 10, 2023
1 parent bba3284 commit 71148c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/SFCGAL/algorithm/Visibility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ BOOST_AUTO_TEST_CASE(testVisibility_SegmentInPolygon)
std::unique_ptr<Polygon> 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);
}

Expand Down

0 comments on commit 71148c4

Please sign in to comment.