@Test
  void testBrokenPolygonSelfIntersectTriangleSmallOverlap() throws GeometryException {
    Node startEnd = node(0, 0);
    testBuildMultipolygon(
      List.of(
        List.of(
          startEnd,
          node(0, 100),
          node(100, 50 - 0.00001),
          node(100, 50 + 0.00001),
          startEnd
        ),
        rectangleNodes(10, 45, 20, 55)
      ),
      newPolygon(
        newCoordinateList(
          0, 0,
          0, 100,
          100, 50 - 0.00001,
          100, 50 + 0.00001,
          0, 0
        ),
        List.of(
          rectangleCoordList(10, 45, 20, 55)
        )
      )
    );
  }
This class is ported to Java from https://github.com/omniscale/imposm3/blob/master/geom/multipolygon_test.go
planetiler-core/src/test/java/com/onthegomap/planetiler/reader/osm/OsmMultipolygonTest.java