Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pugs unfudge (so)
  • Loading branch information
coke committed Apr 10, 2012
1 parent a3a3d3d commit a84fe9b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion S02-types/autovivification.t
Expand Up @@ -14,7 +14,7 @@ plan 10;
}

#?rakudo skip 'Undef to integer'
#?pugs skip 'so'
#?pugs skip ':exists'
{
my %a;
my $b = so %a<b><c>:exists;
Expand Down
1 change: 0 additions & 1 deletion S04-statements/given.t
Expand Up @@ -205,7 +205,6 @@ Tests the given block, as defined in L<S04/"Switch statements">
is($passed, 1,'when Type {}');
}

#?pugs skip "so NYI"
{
# given + true
# L<S04/"Switch statements" /"is exactly equivalent to">
Expand Down
7 changes: 0 additions & 7 deletions S32-list/pick.t
Expand Up @@ -108,23 +108,20 @@ is (<a b c d>.pick(*).sort).Str, 'a b c d', 'pick(*) returns all the items in th
my %seen;
%seen{$_} = 1 for (1..100).pick(50);
is %seen.keys.elems, 50, 'Range.pick produces uniq elems';
#?pugs skip "so"
ok (so 1 <= all(%seen.keys) <= 100), '... and all the elements are in range';
}

{
my %seen;
%seen{$_} = 1 for (1..300).pick(50);
is %seen.keys.elems, 50, 'Range.pick produces uniq elems';
#?pugs skip "so"
ok (so 1 <= all(%seen.keys) <= 300), '... and all the elements are in range';
}

{
my %seen;
%seen{$_} = 1 for (1..50).pick(*);
is %seen.keys.elems, 50, 'Range.pick produces uniq elems';
#?pugs skip "so"
ok (so 1 <= all(%seen.keys) <= 50), '... and all the elements are in range';
}

Expand All @@ -136,31 +133,27 @@ is (<a b c d>.pick(*).sort).Str, 'a b c d', 'pick(*) returns all the items in th
my %seen;
%seen{$_} = 1 for (1..1_000_000).pick(50);
is %seen.keys.elems, 50, 'Range.pick produces uniq elems';
#?pugs skip "so"
ok (so 1 <= all(%seen.keys) <= 1_000_000), '... and all the elements are in range';
}

{
my %seen;
%seen{$_} = 1 for (1^..1_000_000).pick(50);
is %seen.keys.elems, 50, 'Range.pick produces uniq elems (lower exclusive)';
#?pugs skip "so"
ok (so 1 < all(%seen.keys) <= 1_000_000), '... and all the elements are in range';
}

{
my %seen;
%seen{$_} = 1 for (1..^1_000_000).pick(50);
is %seen.keys.elems, 50, 'Range.pick produces uniq elems (upper exclusive)';
#?pugs skip "so"
ok (so 1 <= all(%seen.keys) < 1_000_000), '... and all the elements are in range';
}

{
my %seen;
%seen{$_} = 1 for (1^..^1_000_000).pick(50);
is %seen.keys.elems, 50, 'Range.pick produces uniq elems (both exclusive)';
#?pugs skip "so"
ok (so 1 < all(%seen.keys) < 1_000_000), '... and all the elements are in range';
}

Expand Down

0 comments on commit a84fe9b

Please sign in to comment.