From 5a91938ffe3fe31e0c4a82fe70568b036cf49564 Mon Sep 17 00:00:00 2001 From: Roel Arents <2691308+roelarents@users.noreply.github.com> Date: Thu, 22 Feb 2024 16:43:20 +0100 Subject: [PATCH] Revert "add a dedupe test (#29)" (#30) This reverts commit 764165d48471f1f737c4420c62e50b3c2103b7e1. --- snap/snap_test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/snap/snap_test.go b/snap/snap_test.go index ec9c7f3..b66642f 100644 --- a/snap/snap_test.go +++ b/snap/snap_test.go @@ -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"),