@ParameterizedTest
  @CsvSource({
    "true,1,-1,1,257",
    "false,1,1,1,257",
    "false,1,-1,1,255",
    "false,1,-1,2,257"
  })
  void testLineIsEdge(boolean isFillOrEdge, double x1, double y1, double x2, double y2) {
    assertIsFillOrEdge(isFillOrEdge, false, newLineString(
      x1, y1,
      x2, y2
    ));
  }
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