We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47bb1d9 commit 32ff2cdCopy full SHA for 32ff2cd
array/zero_sum_triplets_test.go
@@ -23,6 +23,7 @@ func TestZeroSumTriplets(t *testing.T) {
23
{[]int{1, 2}, [][]int{}},
24
{[]int{1, 2, 3}, [][]int{}},
25
{[]int{1, -4, 3}, [][]int{{-4, 1, 3}}},
26
+ {[]int{0, 0, 0, 0}, [][]int{{0, 0, 0}}},
27
{[]int{1, 2, -4, 6, 3}, [][]int{{-4, 1, 3}}},
28
{[]int{-1, -2, -8, 6, 2, 3}, [][]int{{-8, 2, 6}, {-2, -1, 3}}},
29
{[]int{1, -2, -4, 5, -2, 4, 1, 3}, [][]int{{-4, 1, 3}, {-2, -2, 4}, {-2, 1, 1}}},
0 commit comments