Skip to content

Commit

Permalink
Visibility: fix test for segment in polygon accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Nov 20, 2023
1 parent e0bfb8f commit d5fd984
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 @@ -109,7 +109,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((4.0 0.0,4.0 4.0,1.0 2.0,0.0 1.3,0.0 0.0,3.0 2.0,4.0 0.0))";
BOOST_CHECK_EQUAL(result->asText(1), expectedWkt);
}

Expand Down

0 comments on commit d5fd984

Please sign in to comment.