Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
should test 0 case as well
  • Loading branch information
TimToady committed Aug 2, 2014
1 parent db80199 commit 52f9ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-list/combinations.t
Expand Up @@ -9,5 +9,5 @@ ok [1, 2, 3].combinations(2) »eqv« ([1, 2], [2, 3], [1, 3]), "two item combina
ok [1, 2, 3].combinations(3) »eqv« ([1,2,3],), "three items of a three-item list";

ok [1, 2, 3].combinations(1..2) »eqv« ([1], [2], [3], [1, 2], [2, 3], [1, 3]), "1..2 items";
ok [1, 2, 3].combinations(1..3) »eqv« ([1], [2], [3], [1, 2], [2, 3], [1, 3], [1, 2, 3]), "1..3 items";
ok [1, 2, 3].combinations(0..3) »eqv« ([], [1], [2], [3], [1, 2], [2, 3], [1, 3], [1, 2, 3]), "0..3 items";
ok [1, 2, 3].combinations(2..3) »eqv« ([1, 2], [2, 3], [1, 3], [1, 2, 3]), "2..3 items";

0 comments on commit 52f9ad5

Please sign in to comment.