@Test
  void testReduceMaxPointBuffer() throws Exception {
    var results = runWithReaderFeatures(
      Map.of(
        "threads", "1",
        "max-point-buffer", "1"
      ),
      List.of(
        newReaderFeature(z14Point(0, 0), Map.of("group", "1")),
        newReaderFeature(newMultiPoint(
          z14Point(-1, -1),
          z14Point(-2, -2) // should get filtered out
        ), Map.of("group", "1")),
        // don't merge - different group:
        newReaderFeature(z14Point(257, 257), Map.of("group", "2")),
        newReaderFeature(z14Point(258, 258), Map.of("group", "3")) // filter out
      ),
      (in, features) -> features.point("layer")
        .setZoomRange(14, 14)
        .setBufferPixels(10)
        .inheritAttrFromSource("group")
    );

    assertSubmap(sortListValues(Map.of(
      TileCoord.ofXYZ(Z14_TILES / 2, Z14_TILES / 2, 14), List.of(
        feature(newPoint(-1, -1), Map.of("group", "1")),
        feature(newPoint(0, 0), Map.of("group", "1")),
        feature(newPoint(257, 257), Map.of("group", "2"))
      )
    )), sortListValues(results.tiles));
  }
In-memory tests with fake data and profiles to ensure all features work end-to-end.
planetiler-core/src/test/java/com/onthegomap/planetiler/PlanetilerTests.java