(t *testing.T, a, b T)
| 6 | ) |
| 7 | |
| 8 | func 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 | |
| 14 | func TestSlice(t *testing.T) { |
| 15 | it := Slice([]int{1, 2, 3}) |
no outgoing calls
no test coverage detected
searching dependent graphs…