You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -55,6 +60,7 @@ is %hash.values, 1..7, '...and the right values are assigned';
55
60
%hash= ();
56
61
57
62
#?pugs 3 todo 'feature'
63
+
#?rakudo todo 'todo'
58
64
lives_ok { %hash= enum <<:Sun(1) Mon Tue :Wed(4) Thu Fri Sat>>; }, 'specifying continuous values in the middle works...';
59
65
60
66
#?rakudo 2 todo '<<:pair(3)>> magic'
@@ -64,6 +70,7 @@ is %hash.values.sort, 1..7, '...and the right values are assigned';
64
70
%hash= ();
65
71
66
72
#?pugs 3 todo 'feature'
73
+
#?rakudo todo 'todo'
67
74
lives_ok { %hash= enum <<:Sun(1) Mon Tue :Wed(5) Thu Fri Sat>>; }, 'specifying different values in the middle works...';
68
75
69
76
#?rakudo 2 todo '<<:pair(3)>> magic'
@@ -74,6 +81,7 @@ is %hash.values.sort, (1, 2, 3, 5, 6, 7, 8), '...and the right values are assign
74
81
%hash= ();
75
82
76
83
#?pugs 3 todo 'feature'
84
+
#?rakudo todo 'todo'
77
85
lives_ok { %hash= enum «:Alpha<A> Bravo Charlie Delta Echo»; }, 'specifying a string up front works';
78
86
79
87
#?rakudo 2 todo '<<:pair(3)>> magic'
@@ -86,9 +94,11 @@ is %hash.values.sort, <A B C D E>, '...and the right values are assigned';
86
94
lives_ok { %hash= enum <<:Alpha<A> Bravo Charlie Delta Echo>>; }, 'specifying a string up front works (Texas quotes)';
87
95
88
96
#?pugs todo 'feature'
97
+
#?rakudo todo 'todo'
89
98
is%hash.keys.sort, <Alpha Bravo Charlie Delta Echo>, '...and the right keys are assigned';
90
99
91
100
#?pugs todo 'feature'
101
+
#?rakudo todo 'todo'
92
102
is%hash.values, <A B C D E>, '...and the right values are assigned';
93
103
94
104
%hash= ();
@@ -97,8 +107,10 @@ is %hash.values, <A B C D E>, '...and the right values are assigned';
97
107
#?pugs 3 todo 'feature'
98
108
lives_ok { %hash= enum «:zero(0) one two three four five six seven eight nine :ten<a> eleven twelve thirteen fourteen fifteen»; }, 'mixing strings and integers works';
99
109
110
+
#?rakudo todo 'todo'
100
111
is%hash.keys, <zero one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen>, '...and the right keys are assigned';
101
112
113
+
#?rakudo todo 'todo'
102
114
is%hash.values, (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'A', 'B', 'C', 'D', 'E', 'F'), '...and the right values are assigned';
0 commit comments