Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix and rakudo-unfudge combination() tests
  • Loading branch information
moritz committed May 31, 2012
1 parent 27dbc07 commit d06e61e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions integration/99problems-21-to-30.t
Expand Up @@ -135,11 +135,10 @@ sub combination($n, @xs) {
} elsif $n == @xs {
[@xs]
} else {
(map { [@xs[0],$_] },combination($n-1,@xs[1..*])), combination($n,@xs[1..*])
(map { [@xs[0],$_.list] },combination($n-1,@xs[1..*])), combination($n,@xs[1..*])
}
}

#?rakudo skip 'elements() not implemented in class Range'
#?niecza skip 'hangs'
{

Expand All @@ -156,7 +155,6 @@ sub combination($n, @xs) {
[3, 4, 5]), "combinations work.";
}

#?rakudo skip 'depedendency on combination() from previous section'
#?niecza skip 'hangs'
#?pugs todo
{
Expand Down

0 comments on commit d06e61e

Please sign in to comment.