From 695a6335b03770f04e03bc8cc2274a57d8739670 Mon Sep 17 00:00:00 2001 From: Roel Arents <2691308+roelarents@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:28:12 +0100 Subject: [PATCH] Revert "add a dedupe test (#29)" 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"),