Always generate a polygon that has no self intersections (#12124)

This commit is contained in:
Ioana Tagirta 2023-02-02 16:57:42 +01:00 committed by GitHub
parent 5acca82633
commit d591c9c37a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ public abstract class BaseXYShapeTestCase extends BaseSpatialTestCase {
while (true) {
XYPolygon p = ShapeTestUtil.nextPolygon();
try {
Tessellator.tessellate(p, random().nextBoolean());
Tessellator.tessellate(p, true);
return p;
} catch (
@SuppressWarnings("unused")