@Test
  void testBuildMultipolygonFromGeometries() throws GeometryException {
    Geometry actual = OsmMultipolygon.build(List.of(
      newLineString(0.2, 0.2, 0.4, 0.2, 0.4, 0.4).getCoordinateSequence(),
      newLineString(0.4, 0.4, 0.2, 0.4, 0.2, 0.2).getCoordinateSequence()
    ));
    assertSameNormalizedFeature(rectangle(0.2, 0.4), actual);
  }
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