@@ -20,6 +20,7 @@ my $kb = KeyBag.new({ blood => 1, love => 2 });
20
20
21
21
# Bag Union
22
22
23
+ # ?rakudo 8 skip "∪ NYI"
23
24
is showkv($ b ∪ $ b ), showkv($ b ), " Bag union with itself yields self" ;
24
25
isa_ok ($ b ∪ $ b ), Bag , " ... and it's actually a Bag" ;
25
26
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";
37
38
38
39
# Bag Intersection
39
40
41
+ # ?rakudo 10 skip "∩ NYI"
40
42
is showkv($ b ∩ $ b ), showkv($ b ), " Bag intersection with itself yields self (as Bag)" ;
41
43
isa_ok ($ b ∩ $ b ), Bag , " ... and it's actually a Bag" ;
42
44
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";
58
60
59
61
# Bag multiplication
60
62
63
+ # ?rakudo 16 skip "∩ NYI"
61
64
is showkv($ s ⊍ $ s ), " blood:1 love:1" , " Bag multiplication with itself yields self squared" ;
62
65
isa_ok ($ s ⊍ $ s ), Bag , " ... and it's actually a Bag" ;
63
66
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";
87
90
88
91
# Bag addition
89
92
93
+ # ?rakudo 16 skip "⊎ NYI"
90
94
is showkv($ s ⊎ $ s ), " blood:2 love:2" , " Bag addition with itself yields twice self" ;
91
95
isa_ok ($ s ⊎ $ s ), Bag , " ... and it's actually a Bag" ;
92
96
is showkv($ ks ⊎ $ ks ), " blood:2 rhetoric:2" , " Bag addition with itself yields twice self" ;
0 commit comments