feat: hit on primitives

This commit is contained in:
IliaDenisov
2026-03-07 19:28:22 +02:00
parent e4b956232f
commit c076347d70
21 changed files with 1167 additions and 165 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ import (
"sort"
"testing"
"github.com/google/uuid"
"github.com/stretchr/testify/require"
)
@@ -664,7 +663,7 @@ func TestBuildRenderPlanStageA_CandidatesArePerTileDeduped(t *testing.T) {
if len(td.Candidates) == 0 {
continue
}
seen := map[uuid.UUID]struct{}{}
seen := map[PrimitiveID]struct{}{}
for _, it := range td.Candidates {
_, ok := seen[it.ID()]
require.False(t, ok, "candidate duplicated within a tile")