MCPcopy Create free account
hub / github.com/Soft/iter / equals

Function equals

iterator_test.go:8–12  ·  view source on GitHub ↗
(t *testing.T, a, b T)

Source from the content-addressed store, hash-verified

6)
7
8func equals[T any](t *testing.T, a, b T) {
9 if !reflect.DeepEqual(a, b) {
10 t.Fatalf("%+v != %+v", a, b)
11 }
12}
13
14func TestSlice(t *testing.T) {
15 it := Slice([]int{1, 2, 3})

Callers 15

TestSliceFunction · 0.85
TestRepeatFunction · 0.85
TestTakeFunction · 0.85
TestMapFunction · 0.85
TestFuncFunction · 0.85
TestEmptyFunction · 0.85
TestOnceFunction · 0.85
TestToSliceFunction · 0.85
TestDropFunction · 0.85
TestDropWhileFunction · 0.85
TestTakeWhileFunction · 0.85
TestForEachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…