We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f849a2b commit d462f69Copy full SHA for d462f69
1 file changed
src/test/java/org/tailormap/api/geotools/processing/GeometryProcessorTest.java
@@ -91,15 +91,9 @@ void simplify_polygon() throws ParseException {
91
92
final Geometry p2 = new WKTReader2().read(simplified);
93
assertTrue(p.overlaps(p2), "source polygon should overlap simplified");
94
- // /* PMD.JUnitAssertionsShouldIncludeMessage */
95
- // assertThat(100 * p2.intersection(p).getArea() / p.getArea())
96
- // .as("intersection area should be about 99% of original")
97
- // .isCloseTo(99, within(1d));
98
assertThat(
99
"intersection area should be about 99% of original",
100
100 * p2.intersection(p).getArea() / p.getArea(), closeTo(99, 1d));
101
-
102
103
}
104
105
@Test
0 commit comments