Skip to content

Commit bd54c0a

Browse files
author
openset
committed
Add: case
1 parent 7ed025a commit bd54c0a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Diff for: problems/3sum/3sum_test.go

+9-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,15 @@ func TestThreeSum(t *testing.T) {
2424
expected: [][]int{
2525
{0, 0, 0},
2626
},
27-
}, {
28-
input: []int{-2, 0, 0, 2, 2},
27+
},
28+
{
29+
input: []int{-2, 0, 0, 2, 2, 2},
30+
expected: [][]int{
31+
{-2, 0, 2},
32+
},
33+
},
34+
{
35+
input: []int{-2, 0, 0, 2, 2, 2, 2},
2936
expected: [][]int{
3037
{-2, 0, 2},
3138
},

0 commit comments

Comments
 (0)