Skip to content

Commit 2085636

Browse files
committed
Fudge for Rakudo.
1 parent aadc834 commit 2085636

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

S03-operators/bag.t

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ my $kb = KeyBag.new({ blood => 1, love => 2 });
2020

2121
# Bag Union
2222

23+
#?rakudo 8 skip "∪ NYI"
2324
is showkv($b $b), showkv($b), "Bag union with itself yields self";
2425
isa_ok ($b $b), Bag, "... and it's actually a Bag";
2526
is showkv($kb $kb), showkv($kb), "KeyBag union with itself yields (as Bag)";
@@ -37,6 +38,7 @@ isa_ok ($s (|) $kb), Bag, "... and it's actually a Bag";
3738

3839
# Bag Intersection
3940

41+
#?rakudo 10 skip "∩ NYI"
4042
is showkv($b $b), showkv($b), "Bag intersection with itself yields self (as Bag)";
4143
isa_ok ($b $b), Bag, "... and it's actually a Bag";
4244
is showkv($kb $kb), showkv($kb), "KeyBag intersection with itself yields self (as Bag)";
@@ -58,6 +60,7 @@ isa_ok ($kb (&) <glad green blood>), Bag, "... and it's actually a Bag";
5860

5961
# Bag multiplication
6062

63+
#?rakudo 16 skip "∩ NYI"
6164
is showkv($s $s), "blood:1 love:1", "Bag multiplication with itself yields self squared";
6265
isa_ok ($s $s), Bag, "... and it's actually a Bag";
6366
is showkv($ks $ks), "blood:1 rhetoric:1", "Bag multiplication with itself yields self squared";
@@ -87,6 +90,7 @@ isa_ok ($kb (.) $b), Bag, "... and it's actually a Bag";
8790

8891
# Bag addition
8992

93+
#?rakudo 16 skip "⊎ NYI"
9094
is showkv($s $s), "blood:2 love:2", "Bag addition with itself yields twice self";
9195
isa_ok ($s $s), Bag, "... and it's actually a Bag";
9296
is showkv($ks $ks), "blood:2 rhetoric:2", "Bag addition with itself yields twice self";

0 commit comments

Comments
 (0)