Skip to content

Commit

Permalink
Revert "add a dedupe test (#29)" (#30)
Browse files Browse the repository at this point in the history
This reverts commit 764165d.
  • Loading branch information
roelarents authored Feb 22, 2024
1 parent 764165d commit 5a91938
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions snap/snap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,6 @@ func TestSnap_snapPolygon(t *testing.T) {
{0.25, 2.25},
}}}},
},
{
name: "needs deduplication, 3 same, 1 different point",
tms: loadEmbeddedTileMatrixSet(t, "NetherlandsRDNewQuad"),
tmIDs: []tms20.TMID{0},
polygon: geom.Polygon{{{88843.117, 447720.147}, {88880.366, 447732.897}, {88881.636, 447732.275}, {88843.765, 447718.255}, {88843.117, 447720.147}}},
want: map[tms20.TMID][]geom.Polygon{0: {{{{88875.2, 447624.64}, {88875.2, 447839.68}}}}},
},
{
name: "rightmostLowestPoint is one of the deduped points",
tms: loadEmbeddedTileMatrixSet(t, "NetherlandsRDNewQuad"),
Expand Down

0 comments on commit 5a91938

Please sign in to comment.