Skip to content

Commit

Permalink
Add one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexykot committed Oct 19, 2024
1 parent 33ed403 commit 1d329f0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions combinations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,16 @@ func TestAllWithRepetitionsInt(t *testing.T) {
{2, 2},
},
},
{
name: "Three items, m = 1",
in: []int{1, 2, 3},
m: 1,
out: [][]int{
{1},
{2},
{3},
},
},
{
name: "Three items, m = 2",
in: []int{1, 2, 3},
Expand Down

0 comments on commit 1d329f0

Please sign in to comment.