Skip to content

Commit

Permalink
Update PlanetilerTests.java
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry authored Dec 20, 2024
1 parent 5e86826 commit 38b9c60
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand All @@ -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
Expand Down

0 comments on commit 38b9c60

Please sign in to comment.