(t *testing.T)
| 81 | } |
| 82 | |
| 83 | func TestArrayEquals(t *testing.T) { |
| 84 | testArrayEquals(t, []string{"a", "b", "c"}, []string{"a", "b", "c"}, true) |
| 85 | testArrayEquals(t, []string{"a", "b", "c"}, []string{"a", "b"}, false) |
| 86 | testArrayEquals(t, []string{"a", "b", "c"}, []string{"a", "c", "b"}, false) |
| 87 | testArrayEquals(t, []string{"a", "b", "c"}, []string{}, false) |
| 88 | } |
| 89 | |
| 90 | func testArray2DEquals(t *testing.T, a [][]string, b [][]string, res bool) { |
| 91 | t.Helper() |
nothing calls this directly
no test coverage detected
searching dependent graphs…