From 38b9c603b955d805ff2911812911150356fbb0a2 Mon Sep 17 00:00:00 2001 From: Michael Barry Date: Thu, 19 Dec 2024 19:16:09 -0500 Subject: [PATCH] Update PlanetilerTests.java --- .../java/com/onthegomap/planetiler/PlanetilerTests.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/planetiler-core/src/test/java/com/onthegomap/planetiler/PlanetilerTests.java b/planetiler-core/src/test/java/com/onthegomap/planetiler/PlanetilerTests.java index f0245f2062..ed8c231734 100644 --- a/planetiler-core/src/test/java/com/onthegomap/planetiler/PlanetilerTests.java +++ b/planetiler-core/src/test/java/com/onthegomap/planetiler/PlanetilerTests.java @@ -458,7 +458,7 @@ void testMinSize() throws Exception { .inheritAttrFromSource("type") ); - assertSubmap(Map.of( + assertEquals(Map.of( TileCoord.ofXYZ(Z15_TILES / 2, Z15_TILES / 2, 15), List.of( feature(newPoint(128, 128), Map.of("type", "line")), feature(newPoint(128, 128), Map.of("type", "poly")) @@ -467,10 +467,8 @@ void testMinSize() throws Exception { TileCoord.ofXYZ(Z14_TILES / 2, Z14_TILES / 2, 14), List.of( feature(newPoint(64, 64), Map.of("type", "line")), feature(newPoint(64, 64), Map.of("type", "poly")) - ) + ), // features are too small at z13 ), results.tiles); - // features are too small at z13 - assertEquals(List.of(), results.tiles.keySet().stream().filter(d -> d.z() < 14).toList()); } @ParameterizedTest