Files
Agent-System-Dev/tests/ops/drill_driver/holes_test.go
T
weichenandCursor 1623a9a0fe Record the drill verdicts before opening the pull request
Why: The task card still said C4 and C5 had not run, which would make the pull request describe the wrong result.
Evidence: B6, C4, and C5 receipts already on the card (SELF). drill_driver tests pass after grouping the imports.
Impact: The card now states K4 failed and second-instance writes stay closed. No product code change.
Refs: feature/u7-ops-drills
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 16:22:18 +00:00

20 lines
355 B
Go

package main
import (
"reflect"
"testing"
)
func TestSeqHoles(t *testing.T) {
if got := seqHoles(nil); got != nil {
t.Fatalf("empty: %#v", got)
}
if got := seqHoles([]int64{1, 2, 3}); got != nil {
t.Fatalf("contiguous: %#v", got)
}
got := seqHoles([]int64{1, 3, 4})
if !reflect.DeepEqual(got, []int64{2}) {
t.Fatalf("hole: %#v", got)
}
}