feat: hit on primitives
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user