@ParameterizedTest
  @CsvSource({
    "0, 0, 256",
    "1, -1, 257",
    "10, -10, 266",
  })
  void testFill(double buffer, double min, double max) throws GeometryException {
    var geom = VectorTile.encodeFill(buffer);
    assertSameGeometry(rectangle(min, max), geom.decode());
    assertArrayEquals(VectorTile.encodeGeometry(rectangle(min, max)).commands(), geom.commands());
  }
This class is copied from
https://github.com/ElectronicChartCentre/java-vector-tile/blob/master/src/test/java/no/ecc/vectortile/VectorTileEncoderTest.java
and modified based on the changes in VectorTileEncoder, and adapted to junit 5.
planetiler-core/src/test/java/com/onthegomap/planetiler/VectorTileTest.java