Created
December 19, 2020 14:47
-
-
Save Altai-man/f2d4e4196abe73c0adfceeb20cdfd554 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ spec git:(master) raku --version | |
Welcome to Rakudo(tm) v2020.11-147-g4e645ee5d. | |
Implementing the Raku(tm) programming language v6.d. | |
Built on MoarVM version 2020.11-87-g98fccebf9. | |
➜ spec git:(master) raku S09-typed-arrays/native-int.rakudo.moar | |
1..1370 | |
# Testing int array | |
ok 1 - int array type is Positional | |
ok 2 - int array type is Positional[int] | |
ok 3 - int array type .of is int | |
ok 4 - int array is Positional | |
ok 5 - int array is Positional[int] | |
ok 6 - int array .of is int | |
ok 7 - int array is Positional | |
ok 8 - int array is Positional[int] | |
ok 9 - int array .of is int | |
ok 10 - .new from int array is Positional | |
ok 11 - .new from int array Positional[int] | |
ok 12 - .new from int array .of is int | |
ok 13 - New int array has no elems | |
ok 14 - New int array has end of -1 | |
ok 15 - New int array Int-ifies to 0 | |
ok 16 - New int array numifies to 0 | |
ok 17 - New int array is falsey | |
ok 18 - Empty int array is not lazy | |
ok 19 - Accessing non-existing on int array gives 0 | |
ok 20 - Elems do not grow just from an access on int array | |
ok 21 - Can store integer in an int array | |
ok 22 - Can get value from int array | |
ok 23 - The elems grew as expected on int array | |
ok 24 - int array becomes truthy when it has an element | |
ok 25 - Can slice-assign to an int array | |
ok 26 - Can get slice-assigned value from int array (1) | |
ok 27 - Can get slice-assigned value from int array (2) | |
ok 28 - The elems grew as expected on int array | |
ok 29 - The end value matches grown elems on int array | |
ok 30 - Int-ifies to grown number of elems on int array | |
ok 31 - Numifies to grown number of elems on int array | |
ok 32 - int array with values is not lazy | |
ok 33 - Can assign non-contiguously to int array | |
ok 34 - Elems behind non-contiguous assign are 0 on int array | |
ok 35 - Non-contiguous assignment works on int array | |
ok 36 - Can also get last element on int array | |
ok 37 - Can clear int array by assigning empty list | |
ok 38 - Cleared int array has no elems | |
ok 39 - Cleared int array has end of -1 | |
ok 40 - Cleared int array Int-ifies to 0 | |
ok 41 - Cleared int array numifies to 0 | |
ok 42 - Cleared int array is falsey | |
ok 43 - Can assign integer range to int array | |
ok 44 - Got correct elems from range assign on int array | |
ok 45 - Got correct element from range assign on int array (1) | |
ok 46 - Got correct element from range assign on int array (2) | |
ok 47 - :exists works on int array (1) | |
ok 48 - :exists works on int array (2) | |
ok 49 - :exists works on int array (3) | |
ok 50 - Can call int array constructor with a single value | |
ok 51 - Correct number of elems set in constructor of int array | |
ok 52 - Correct element value set by constructor of int array | |
ok 53 - Can call int array constructor with values | |
ok 54 - Correct number of elems set in constructor of int array | |
ok 55 - Correct elem value set by constructor of int array (1) | |
ok 56 - Correct elem value set by constructor of int array (2) | |
ok 57 - Correct elem value set by constructor of int array (3) | |
ok 58 - Correct elem value set by constructor of int array (4) | |
ok 59 - Can also get last 2 elements on int array | |
ok 60 - int array .flat returns a Seq | |
ok 61 - int array .eager returns identity | |
ok 62 - Can iterate over int array | |
ok 63 - Mutating for loop on int array works (1) | |
ok 64 - Mutating for loop on int array works (2) | |
ok 65 - Mutating for loop on int array works (3) | |
ok 66 - Mutating for loop on int array works (4) | |
ok 67 - Can map over int array | |
ok 68 - Mutating map on int array works (1) | |
ok 69 - Mutating map on int array works (2) | |
ok 70 - Mutating map on int array works (3) | |
ok 71 - Mutating map on int array works (4) | |
ok 72 - Can grep a int array | |
ok 73 - Can use reduce meta-op on a int array | |
ok 74 - .values from a int array | |
ok 75 - .pairup from a int array | |
ok 76 - .keys from a int array | |
ok 77 - .pairs from a int array | |
ok 78 - .antipairs from a int array | |
ok 79 - .kv from a int array | |
ok 80 - .pick from a int array | |
ok 81 - .roll from a int array | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .action matches pop | |
ok 4 - .what matches array[int] | |
ok 82 - Trying to pop an empty int array dies | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .action matches shift | |
ok 4 - .what matches array[int] | |
ok 83 - Trying to shift an empty int array dies | |
ok 84 - can push to int array | |
ok 85 - push to int array works (1) | |
ok 86 - push to int array works (2) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 87 - Cannot push non-int/Int to int array | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot bind to a natively typed array | |
# Failed test '.message matches Cannot bind to a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot bind to a natively typed array | |
# Got: Cannot bind to a native int array | |
# You failed 1 test of 3 | |
not ok 88 - Cannot push non-int/Int to int array | |
# Failed test 'Cannot push non-int/Int to int array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 140 | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot delete from a natively typed array | |
# Failed test '.message matches Cannot delete from a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot delete from a natively typed array | |
# Got: Cannot delete from a native int array | |
# You failed 1 test of 3 | |
not ok 89 - Cannot push non-int/Int to int array | |
# Failed test 'Cannot push non-int/Int to int array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 143 | |
ok 90 - can push multiple to int array | |
ok 91 - push multiple to int array works (1) | |
ok 92 - push multiple to int array works (2) | |
ok 93 - push multiple to int array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 94 - Cannot push non-int/Int to int array (multiple push) | |
ok 95 - pop from int array works (1) | |
ok 96 - pop from int array works (2) | |
ok 97 - can unshift to int array | |
ok 98 - unshift to int array works (1) | |
ok 99 - unshift to int array works (2) | |
ok 100 - unshift to int array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 101 - Cannot unshift non-int/Int to int array | |
ok 102 - can unshift multiple to int array | |
ok 103 - unshift multiple to int array works (1) | |
ok 104 - unshift multiple to int array works (2) | |
ok 105 - unshift multiple to int array works (3) | |
ok 106 - unshift multiple to int array works (4) | |
ok 107 - unshift multiple to int array works (5) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 108 - Cannot unshift non-int/Int to int array (multiple unshift) | |
ok 109 - shift from int array works (1) | |
ok 110 - shift from int array works (2) | |
ok 111 - can initialize int from Range | |
ok 112 - Number of elems after splice int array | |
ok 113 - Splice on int array did the right thing (1) | |
ok 114 - Splice on int array did the right thing (2) | |
ok 115 - Splice on int array did the right thing (3) | |
ok 116 - Splice on int array did the right thing (4) | |
ok 117 - Splice on int array did the right thing (5) | |
ok 118 - Number of returned spliced values from int array | |
ok 119 - Correct value in splice returned from int array (1) | |
ok 120 - Correct value in splice returned from int array (2) | |
ok 121 - .Str space-separates on int array | |
ok 122 - .gist space-separates on int array | |
ok 123 - .perl includes type and int values on int array | |
ok 124 - Flattening int array in call works | |
ok 125 - List-assigning int array to untyped works (1) | |
ok 126 - List-assigning int array to untyped works (2) | |
ok 127 - List-assigning int array to untyped works (3) | |
ok 128 - List-assign int array surrounded by literals (1) | |
ok 129 - List-assign int array surrounded by literals (2) | |
ok 130 - List-assign int array surrounded by literals (3) | |
ok 131 - List-assign int array surrounded by literals (4) | |
ok 132 - List-assign int array surrounded by literals (5) | |
ok 133 - List-assign untyped array of Int to int array (1) | |
ok 134 - List-assign untyped array of Int to int array (2) | |
ok 135 - List-assign untyped array of Int to int array (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 136 - List-assigning incompatible untyped array to int array dies | |
# Testing int8 array | |
ok 137 - int8 array type is Positional | |
ok 138 - int8 array type is Positional[int8] | |
ok 139 - int8 array type .of is int8 | |
ok 140 - int8 array is Positional | |
ok 141 - int8 array is Positional[int8] | |
ok 142 - int8 array .of is int8 | |
ok 143 - int8 array is Positional | |
ok 144 - int8 array is Positional[int8] | |
ok 145 - int8 array .of is int8 | |
ok 146 - .new from int8 array is Positional | |
ok 147 - .new from int8 array Positional[int8] | |
ok 148 - .new from int8 array .of is int8 | |
ok 149 - New int8 array has no elems | |
ok 150 - New int8 array has end of -1 | |
ok 151 - New int8 array Int-ifies to 0 | |
ok 152 - New int8 array numifies to 0 | |
ok 153 - New int8 array is falsey | |
ok 154 - Empty int8 array is not lazy | |
ok 155 - Accessing non-existing on int8 array gives 0 | |
ok 156 - Elems do not grow just from an access on int8 array | |
ok 157 - Can store integer in an int8 array | |
ok 158 - Can get value from int8 array | |
ok 159 - The elems grew as expected on int8 array | |
ok 160 - int8 array becomes truthy when it has an element | |
ok 161 - Can slice-assign to an int8 array | |
ok 162 - Can get slice-assigned value from int8 array (1) | |
ok 163 - Can get slice-assigned value from int8 array (2) | |
ok 164 - The elems grew as expected on int8 array | |
ok 165 - The end value matches grown elems on int8 array | |
ok 166 - Int-ifies to grown number of elems on int8 array | |
ok 167 - Numifies to grown number of elems on int8 array | |
ok 168 - int8 array with values is not lazy | |
ok 169 - Can assign non-contiguously to int8 array | |
ok 170 - Elems behind non-contiguous assign are 0 on int8 array | |
ok 171 - Non-contiguous assignment works on int8 array | |
ok 172 - Can also get last element on int8 array | |
ok 173 - Can clear int8 array by assigning empty list | |
ok 174 - Cleared int8 array has no elems | |
ok 175 - Cleared int8 array has end of -1 | |
ok 176 - Cleared int8 array Int-ifies to 0 | |
ok 177 - Cleared int8 array numifies to 0 | |
ok 178 - Cleared int8 array is falsey | |
ok 179 - Can assign integer range to int8 array | |
ok 180 - Got correct elems from range assign on int8 array | |
ok 181 - Got correct element from range assign on int8 array (1) | |
ok 182 - Got correct element from range assign on int8 array (2) | |
ok 183 - :exists works on int8 array (1) | |
ok 184 - :exists works on int8 array (2) | |
ok 185 - :exists works on int8 array (3) | |
ok 186 - Can call int8 array constructor with a single value | |
ok 187 - Correct number of elems set in constructor of int8 array | |
ok 188 - Correct element value set by constructor of int8 array | |
ok 189 - Can call int8 array constructor with values | |
ok 190 - Correct number of elems set in constructor of int8 array | |
ok 191 - Correct elem value set by constructor of int8 array (1) | |
ok 192 - Correct elem value set by constructor of int8 array (2) | |
ok 193 - Correct elem value set by constructor of int8 array (3) | |
ok 194 - Correct elem value set by constructor of int8 array (4) | |
ok 195 - Can also get last 2 elements on int8 array | |
ok 196 - int8 array .flat returns a Seq | |
ok 197 - int8 array .eager returns identity | |
ok 198 - Can iterate over int8 array | |
ok 199 - Mutating for loop on int8 array works (1) | |
ok 200 - Mutating for loop on int8 array works (2) | |
ok 201 - Mutating for loop on int8 array works (3) | |
ok 202 - Mutating for loop on int8 array works (4) | |
ok 203 - Can map over int8 array | |
ok 204 - Mutating map on int8 array works (1) | |
ok 205 - Mutating map on int8 array works (2) | |
ok 206 - Mutating map on int8 array works (3) | |
ok 207 - Mutating map on int8 array works (4) | |
ok 208 - Can grep a int8 array | |
ok 209 - Can use reduce meta-op on a int8 array | |
ok 210 - .values from a int8 array | |
ok 211 - .pairup from a int8 array | |
ok 212 - .keys from a int8 array | |
ok 213 - .pairs from a int8 array | |
ok 214 - .antipairs from a int8 array | |
ok 215 - .kv from a int8 array | |
ok 216 - .pick from a int8 array | |
ok 217 - .roll from a int8 array | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .what matches array[int8] | |
ok 4 - .action matches pop | |
ok 218 - Trying to pop an empty int8 array dies | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .action matches shift | |
ok 4 - .what matches array[int8] | |
ok 219 - Trying to shift an empty int8 array dies | |
ok 220 - can push to int8 array | |
ok 221 - push to int8 array works (1) | |
ok 222 - push to int8 array works (2) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 223 - Cannot push non-int/Int to int8 array | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot bind to a natively typed array | |
# Failed test '.message matches Cannot bind to a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot bind to a natively typed array | |
# Got: Cannot bind to a native int array | |
# You failed 1 test of 3 | |
not ok 224 - Cannot push non-int/Int to int8 array | |
# Failed test 'Cannot push non-int/Int to int8 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 140 | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot delete from a natively typed array | |
# Failed test '.message matches Cannot delete from a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot delete from a natively typed array | |
# Got: Cannot delete from a native int array | |
# You failed 1 test of 3 | |
not ok 225 - Cannot push non-int/Int to int8 array | |
# Failed test 'Cannot push non-int/Int to int8 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 143 | |
ok 226 - can push multiple to int8 array | |
ok 227 - push multiple to int8 array works (1) | |
ok 228 - push multiple to int8 array works (2) | |
ok 229 - push multiple to int8 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 230 - Cannot push non-int/Int to int8 array (multiple push) | |
ok 231 - pop from int8 array works (1) | |
ok 232 - pop from int8 array works (2) | |
ok 233 - can unshift to int8 array | |
ok 234 - unshift to int8 array works (1) | |
ok 235 - unshift to int8 array works (2) | |
ok 236 - unshift to int8 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 237 - Cannot unshift non-int/Int to int8 array | |
ok 238 - can unshift multiple to int8 array | |
ok 239 - unshift multiple to int8 array works (1) | |
ok 240 - unshift multiple to int8 array works (2) | |
ok 241 - unshift multiple to int8 array works (3) | |
ok 242 - unshift multiple to int8 array works (4) | |
ok 243 - unshift multiple to int8 array works (5) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 244 - Cannot unshift non-int/Int to int8 array (multiple unshift) | |
ok 245 - shift from int8 array works (1) | |
ok 246 - shift from int8 array works (2) | |
ok 247 - can initialize int8 from Range | |
ok 248 - Number of elems after splice int8 array | |
ok 249 - Splice on int8 array did the right thing (1) | |
ok 250 - Splice on int8 array did the right thing (2) | |
ok 251 - Splice on int8 array did the right thing (3) | |
ok 252 - Splice on int8 array did the right thing (4) | |
ok 253 - Splice on int8 array did the right thing (5) | |
ok 254 - Number of returned spliced values from int8 array | |
ok 255 - Correct value in splice returned from int8 array (1) | |
ok 256 - Correct value in splice returned from int8 array (2) | |
ok 257 - .Str space-separates on int8 array | |
ok 258 - .gist space-separates on int8 array | |
ok 259 - .perl includes type and int values on int8 array | |
ok 260 - Flattening int8 array in call works | |
ok 261 - List-assigning int8 array to untyped works (1) | |
ok 262 - List-assigning int8 array to untyped works (2) | |
ok 263 - List-assigning int8 array to untyped works (3) | |
ok 264 - List-assign int8 array surrounded by literals (1) | |
ok 265 - List-assign int8 array surrounded by literals (2) | |
ok 266 - List-assign int8 array surrounded by literals (3) | |
ok 267 - List-assign int8 array surrounded by literals (4) | |
ok 268 - List-assign int8 array surrounded by literals (5) | |
ok 269 - List-assign untyped array of Int to int8 array (1) | |
ok 270 - List-assign untyped array of Int to int8 array (2) | |
ok 271 - List-assign untyped array of Int to int8 array (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 272 - List-assigning incompatible untyped array to int8 array dies | |
# Testing int16 array | |
ok 273 - int16 array type is Positional | |
ok 274 - int16 array type is Positional[int16] | |
ok 275 - int16 array type .of is int16 | |
ok 276 - int16 array is Positional | |
ok 277 - int16 array is Positional[int16] | |
ok 278 - int16 array .of is int16 | |
ok 279 - int16 array is Positional | |
ok 280 - int16 array is Positional[int16] | |
ok 281 - int16 array .of is int16 | |
ok 282 - .new from int16 array is Positional | |
ok 283 - .new from int16 array Positional[int16] | |
ok 284 - .new from int16 array .of is int16 | |
ok 285 - New int16 array has no elems | |
ok 286 - New int16 array has end of -1 | |
ok 287 - New int16 array Int-ifies to 0 | |
ok 288 - New int16 array numifies to 0 | |
ok 289 - New int16 array is falsey | |
ok 290 - Empty int16 array is not lazy | |
ok 291 - Accessing non-existing on int16 array gives 0 | |
ok 292 - Elems do not grow just from an access on int16 array | |
ok 293 - Can store integer in an int16 array | |
ok 294 - Can get value from int16 array | |
ok 295 - The elems grew as expected on int16 array | |
ok 296 - int16 array becomes truthy when it has an element | |
ok 297 - Can slice-assign to an int16 array | |
ok 298 - Can get slice-assigned value from int16 array (1) | |
ok 299 - Can get slice-assigned value from int16 array (2) | |
ok 300 - The elems grew as expected on int16 array | |
ok 301 - The end value matches grown elems on int16 array | |
ok 302 - Int-ifies to grown number of elems on int16 array | |
ok 303 - Numifies to grown number of elems on int16 array | |
ok 304 - int16 array with values is not lazy | |
ok 305 - Can assign non-contiguously to int16 array | |
ok 306 - Elems behind non-contiguous assign are 0 on int16 array | |
ok 307 - Non-contiguous assignment works on int16 array | |
ok 308 - Can also get last element on int16 array | |
ok 309 - Can clear int16 array by assigning empty list | |
ok 310 - Cleared int16 array has no elems | |
ok 311 - Cleared int16 array has end of -1 | |
ok 312 - Cleared int16 array Int-ifies to 0 | |
ok 313 - Cleared int16 array numifies to 0 | |
ok 314 - Cleared int16 array is falsey | |
ok 315 - Can assign integer range to int16 array | |
ok 316 - Got correct elems from range assign on int16 array | |
ok 317 - Got correct element from range assign on int16 array (1) | |
ok 318 - Got correct element from range assign on int16 array (2) | |
ok 319 - :exists works on int16 array (1) | |
ok 320 - :exists works on int16 array (2) | |
ok 321 - :exists works on int16 array (3) | |
ok 322 - Can call int16 array constructor with a single value | |
ok 323 - Correct number of elems set in constructor of int16 array | |
ok 324 - Correct element value set by constructor of int16 array | |
ok 325 - Can call int16 array constructor with values | |
ok 326 - Correct number of elems set in constructor of int16 array | |
ok 327 - Correct elem value set by constructor of int16 array (1) | |
ok 328 - Correct elem value set by constructor of int16 array (2) | |
ok 329 - Correct elem value set by constructor of int16 array (3) | |
ok 330 - Correct elem value set by constructor of int16 array (4) | |
ok 331 - Can also get last 2 elements on int16 array | |
ok 332 - int16 array .flat returns a Seq | |
ok 333 - int16 array .eager returns identity | |
ok 334 - Can iterate over int16 array | |
ok 335 - Mutating for loop on int16 array works (1) | |
ok 336 - Mutating for loop on int16 array works (2) | |
ok 337 - Mutating for loop on int16 array works (3) | |
ok 338 - Mutating for loop on int16 array works (4) | |
ok 339 - Can map over int16 array | |
ok 340 - Mutating map on int16 array works (1) | |
ok 341 - Mutating map on int16 array works (2) | |
ok 342 - Mutating map on int16 array works (3) | |
ok 343 - Mutating map on int16 array works (4) | |
ok 344 - Can grep a int16 array | |
ok 345 - Can use reduce meta-op on a int16 array | |
ok 346 - .values from a int16 array | |
ok 347 - .pairup from a int16 array | |
ok 348 - .keys from a int16 array | |
ok 349 - .pairs from a int16 array | |
ok 350 - .antipairs from a int16 array | |
ok 351 - .kv from a int16 array | |
ok 352 - .pick from a int16 array | |
ok 353 - .roll from a int16 array | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .what matches array[int16] | |
ok 4 - .action matches pop | |
ok 354 - Trying to pop an empty int16 array dies | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .action matches shift | |
ok 4 - .what matches array[int16] | |
ok 355 - Trying to shift an empty int16 array dies | |
ok 356 - can push to int16 array | |
ok 357 - push to int16 array works (1) | |
ok 358 - push to int16 array works (2) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 359 - Cannot push non-int/Int to int16 array | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot bind to a natively typed array | |
# Failed test '.message matches Cannot bind to a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot bind to a natively typed array | |
# Got: Cannot bind to a native int array | |
# You failed 1 test of 3 | |
not ok 360 - Cannot push non-int/Int to int16 array | |
# Failed test 'Cannot push non-int/Int to int16 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 140 | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot delete from a natively typed array | |
# Failed test '.message matches Cannot delete from a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot delete from a natively typed array | |
# Got: Cannot delete from a native int array | |
# You failed 1 test of 3 | |
not ok 361 - Cannot push non-int/Int to int16 array | |
# Failed test 'Cannot push non-int/Int to int16 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 143 | |
ok 362 - can push multiple to int16 array | |
ok 363 - push multiple to int16 array works (1) | |
ok 364 - push multiple to int16 array works (2) | |
ok 365 - push multiple to int16 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 366 - Cannot push non-int/Int to int16 array (multiple push) | |
ok 367 - pop from int16 array works (1) | |
ok 368 - pop from int16 array works (2) | |
ok 369 - can unshift to int16 array | |
ok 370 - unshift to int16 array works (1) | |
ok 371 - unshift to int16 array works (2) | |
ok 372 - unshift to int16 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 373 - Cannot unshift non-int/Int to int16 array | |
ok 374 - can unshift multiple to int16 array | |
ok 375 - unshift multiple to int16 array works (1) | |
ok 376 - unshift multiple to int16 array works (2) | |
ok 377 - unshift multiple to int16 array works (3) | |
ok 378 - unshift multiple to int16 array works (4) | |
ok 379 - unshift multiple to int16 array works (5) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 380 - Cannot unshift non-int/Int to int16 array (multiple unshift) | |
ok 381 - shift from int16 array works (1) | |
ok 382 - shift from int16 array works (2) | |
ok 383 - can initialize int16 from Range | |
ok 384 - Number of elems after splice int16 array | |
ok 385 - Splice on int16 array did the right thing (1) | |
ok 386 - Splice on int16 array did the right thing (2) | |
ok 387 - Splice on int16 array did the right thing (3) | |
ok 388 - Splice on int16 array did the right thing (4) | |
ok 389 - Splice on int16 array did the right thing (5) | |
ok 390 - Number of returned spliced values from int16 array | |
ok 391 - Correct value in splice returned from int16 array (1) | |
ok 392 - Correct value in splice returned from int16 array (2) | |
ok 393 - .Str space-separates on int16 array | |
ok 394 - .gist space-separates on int16 array | |
ok 395 - .perl includes type and int values on int16 array | |
ok 396 - Flattening int16 array in call works | |
ok 397 - List-assigning int16 array to untyped works (1) | |
ok 398 - List-assigning int16 array to untyped works (2) | |
ok 399 - List-assigning int16 array to untyped works (3) | |
ok 400 - List-assign int16 array surrounded by literals (1) | |
ok 401 - List-assign int16 array surrounded by literals (2) | |
ok 402 - List-assign int16 array surrounded by literals (3) | |
ok 403 - List-assign int16 array surrounded by literals (4) | |
ok 404 - List-assign int16 array surrounded by literals (5) | |
ok 405 - List-assign untyped array of Int to int16 array (1) | |
ok 406 - List-assign untyped array of Int to int16 array (2) | |
ok 407 - List-assign untyped array of Int to int16 array (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 408 - List-assigning incompatible untyped array to int16 array dies | |
# Testing int32 array | |
ok 409 - int32 array type is Positional | |
ok 410 - int32 array type is Positional[int32] | |
ok 411 - int32 array type .of is int32 | |
ok 412 - int32 array is Positional | |
ok 413 - int32 array is Positional[int32] | |
ok 414 - int32 array .of is int32 | |
ok 415 - int32 array is Positional | |
ok 416 - int32 array is Positional[int32] | |
ok 417 - int32 array .of is int32 | |
ok 418 - .new from int32 array is Positional | |
ok 419 - .new from int32 array Positional[int32] | |
ok 420 - .new from int32 array .of is int32 | |
ok 421 - New int32 array has no elems | |
ok 422 - New int32 array has end of -1 | |
ok 423 - New int32 array Int-ifies to 0 | |
ok 424 - New int32 array numifies to 0 | |
ok 425 - New int32 array is falsey | |
ok 426 - Empty int32 array is not lazy | |
ok 427 - Accessing non-existing on int32 array gives 0 | |
ok 428 - Elems do not grow just from an access on int32 array | |
ok 429 - Can store integer in an int32 array | |
ok 430 - Can get value from int32 array | |
ok 431 - The elems grew as expected on int32 array | |
ok 432 - int32 array becomes truthy when it has an element | |
ok 433 - Can slice-assign to an int32 array | |
ok 434 - Can get slice-assigned value from int32 array (1) | |
ok 435 - Can get slice-assigned value from int32 array (2) | |
ok 436 - The elems grew as expected on int32 array | |
ok 437 - The end value matches grown elems on int32 array | |
ok 438 - Int-ifies to grown number of elems on int32 array | |
ok 439 - Numifies to grown number of elems on int32 array | |
ok 440 - int32 array with values is not lazy | |
ok 441 - Can assign non-contiguously to int32 array | |
ok 442 - Elems behind non-contiguous assign are 0 on int32 array | |
ok 443 - Non-contiguous assignment works on int32 array | |
ok 444 - Can also get last element on int32 array | |
ok 445 - Can clear int32 array by assigning empty list | |
ok 446 - Cleared int32 array has no elems | |
ok 447 - Cleared int32 array has end of -1 | |
ok 448 - Cleared int32 array Int-ifies to 0 | |
ok 449 - Cleared int32 array numifies to 0 | |
ok 450 - Cleared int32 array is falsey | |
ok 451 - Can assign integer range to int32 array | |
ok 452 - Got correct elems from range assign on int32 array | |
ok 453 - Got correct element from range assign on int32 array (1) | |
ok 454 - Got correct element from range assign on int32 array (2) | |
ok 455 - :exists works on int32 array (1) | |
ok 456 - :exists works on int32 array (2) | |
ok 457 - :exists works on int32 array (3) | |
ok 458 - Can call int32 array constructor with a single value | |
ok 459 - Correct number of elems set in constructor of int32 array | |
ok 460 - Correct element value set by constructor of int32 array | |
ok 461 - Can call int32 array constructor with values | |
ok 462 - Correct number of elems set in constructor of int32 array | |
ok 463 - Correct elem value set by constructor of int32 array (1) | |
ok 464 - Correct elem value set by constructor of int32 array (2) | |
ok 465 - Correct elem value set by constructor of int32 array (3) | |
ok 466 - Correct elem value set by constructor of int32 array (4) | |
ok 467 - Can also get last 2 elements on int32 array | |
ok 468 - int32 array .flat returns a Seq | |
ok 469 - int32 array .eager returns identity | |
ok 470 - Can iterate over int32 array | |
ok 471 - Mutating for loop on int32 array works (1) | |
ok 472 - Mutating for loop on int32 array works (2) | |
ok 473 - Mutating for loop on int32 array works (3) | |
ok 474 - Mutating for loop on int32 array works (4) | |
ok 475 - Can map over int32 array | |
ok 476 - Mutating map on int32 array works (1) | |
ok 477 - Mutating map on int32 array works (2) | |
ok 478 - Mutating map on int32 array works (3) | |
ok 479 - Mutating map on int32 array works (4) | |
ok 480 - Can grep a int32 array | |
ok 481 - Can use reduce meta-op on a int32 array | |
ok 482 - .values from a int32 array | |
ok 483 - .pairup from a int32 array | |
ok 484 - .keys from a int32 array | |
ok 485 - .pairs from a int32 array | |
ok 486 - .antipairs from a int32 array | |
ok 487 - .kv from a int32 array | |
ok 488 - .pick from a int32 array | |
ok 489 - .roll from a int32 array | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .what matches array[int32] | |
ok 4 - .action matches pop | |
ok 490 - Trying to pop an empty int32 array dies | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .action matches shift | |
ok 4 - .what matches array[int32] | |
ok 491 - Trying to shift an empty int32 array dies | |
ok 492 - can push to int32 array | |
ok 493 - push to int32 array works (1) | |
ok 494 - push to int32 array works (2) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 495 - Cannot push non-int/Int to int32 array | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot bind to a natively typed array | |
# Failed test '.message matches Cannot bind to a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot bind to a natively typed array | |
# Got: Cannot bind to a native int array | |
# You failed 1 test of 3 | |
not ok 496 - Cannot push non-int/Int to int32 array | |
# Failed test 'Cannot push non-int/Int to int32 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 140 | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot delete from a natively typed array | |
# Failed test '.message matches Cannot delete from a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot delete from a natively typed array | |
# Got: Cannot delete from a native int array | |
# You failed 1 test of 3 | |
not ok 497 - Cannot push non-int/Int to int32 array | |
# Failed test 'Cannot push non-int/Int to int32 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 143 | |
ok 498 - can push multiple to int32 array | |
ok 499 - push multiple to int32 array works (1) | |
ok 500 - push multiple to int32 array works (2) | |
ok 501 - push multiple to int32 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 502 - Cannot push non-int/Int to int32 array (multiple push) | |
ok 503 - pop from int32 array works (1) | |
ok 504 - pop from int32 array works (2) | |
ok 505 - can unshift to int32 array | |
ok 506 - unshift to int32 array works (1) | |
ok 507 - unshift to int32 array works (2) | |
ok 508 - unshift to int32 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 509 - Cannot unshift non-int/Int to int32 array | |
ok 510 - can unshift multiple to int32 array | |
ok 511 - unshift multiple to int32 array works (1) | |
ok 512 - unshift multiple to int32 array works (2) | |
ok 513 - unshift multiple to int32 array works (3) | |
ok 514 - unshift multiple to int32 array works (4) | |
ok 515 - unshift multiple to int32 array works (5) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 516 - Cannot unshift non-int/Int to int32 array (multiple unshift) | |
ok 517 - shift from int32 array works (1) | |
ok 518 - shift from int32 array works (2) | |
ok 519 - can initialize int32 from Range | |
ok 520 - Number of elems after splice int32 array | |
ok 521 - Splice on int32 array did the right thing (1) | |
ok 522 - Splice on int32 array did the right thing (2) | |
ok 523 - Splice on int32 array did the right thing (3) | |
ok 524 - Splice on int32 array did the right thing (4) | |
ok 525 - Splice on int32 array did the right thing (5) | |
ok 526 - Number of returned spliced values from int32 array | |
ok 527 - Correct value in splice returned from int32 array (1) | |
ok 528 - Correct value in splice returned from int32 array (2) | |
ok 529 - .Str space-separates on int32 array | |
ok 530 - .gist space-separates on int32 array | |
ok 531 - .perl includes type and int values on int32 array | |
ok 532 - Flattening int32 array in call works | |
ok 533 - List-assigning int32 array to untyped works (1) | |
ok 534 - List-assigning int32 array to untyped works (2) | |
ok 535 - List-assigning int32 array to untyped works (3) | |
ok 536 - List-assign int32 array surrounded by literals (1) | |
ok 537 - List-assign int32 array surrounded by literals (2) | |
ok 538 - List-assign int32 array surrounded by literals (3) | |
ok 539 - List-assign int32 array surrounded by literals (4) | |
ok 540 - List-assign int32 array surrounded by literals (5) | |
ok 541 - List-assign untyped array of Int to int32 array (1) | |
ok 542 - List-assign untyped array of Int to int32 array (2) | |
ok 543 - List-assign untyped array of Int to int32 array (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 544 - List-assigning incompatible untyped array to int32 array dies | |
# Testing int64 array | |
ok 545 - int64 array type is Positional | |
ok 546 - int64 array type is Positional[int64] | |
ok 547 - int64 array type .of is int64 | |
ok 548 - int64 array is Positional | |
ok 549 - int64 array is Positional[int64] | |
ok 550 - int64 array .of is int64 | |
ok 551 - int64 array is Positional | |
ok 552 - int64 array is Positional[int64] | |
ok 553 - int64 array .of is int64 | |
ok 554 - .new from int64 array is Positional | |
ok 555 - .new from int64 array Positional[int64] | |
ok 556 - .new from int64 array .of is int64 | |
ok 557 - New int64 array has no elems | |
ok 558 - New int64 array has end of -1 | |
ok 559 - New int64 array Int-ifies to 0 | |
ok 560 - New int64 array numifies to 0 | |
ok 561 - New int64 array is falsey | |
ok 562 - Empty int64 array is not lazy | |
ok 563 - Accessing non-existing on int64 array gives 0 | |
ok 564 - Elems do not grow just from an access on int64 array | |
ok 565 - Can store integer in an int64 array | |
ok 566 - Can get value from int64 array | |
ok 567 - The elems grew as expected on int64 array | |
ok 568 - int64 array becomes truthy when it has an element | |
ok 569 - Can slice-assign to an int64 array | |
ok 570 - Can get slice-assigned value from int64 array (1) | |
ok 571 - Can get slice-assigned value from int64 array (2) | |
ok 572 - The elems grew as expected on int64 array | |
ok 573 - The end value matches grown elems on int64 array | |
ok 574 - Int-ifies to grown number of elems on int64 array | |
ok 575 - Numifies to grown number of elems on int64 array | |
ok 576 - int64 array with values is not lazy | |
ok 577 - Can assign non-contiguously to int64 array | |
ok 578 - Elems behind non-contiguous assign are 0 on int64 array | |
ok 579 - Non-contiguous assignment works on int64 array | |
ok 580 - Can also get last element on int64 array | |
ok 581 - Can clear int64 array by assigning empty list | |
ok 582 - Cleared int64 array has no elems | |
ok 583 - Cleared int64 array has end of -1 | |
ok 584 - Cleared int64 array Int-ifies to 0 | |
ok 585 - Cleared int64 array numifies to 0 | |
ok 586 - Cleared int64 array is falsey | |
ok 587 - Can assign integer range to int64 array | |
ok 588 - Got correct elems from range assign on int64 array | |
ok 589 - Got correct element from range assign on int64 array (1) | |
ok 590 - Got correct element from range assign on int64 array (2) | |
ok 591 - :exists works on int64 array (1) | |
ok 592 - :exists works on int64 array (2) | |
ok 593 - :exists works on int64 array (3) | |
ok 594 - Can call int64 array constructor with a single value | |
ok 595 - Correct number of elems set in constructor of int64 array | |
ok 596 - Correct element value set by constructor of int64 array | |
ok 597 - Can call int64 array constructor with values | |
ok 598 - Correct number of elems set in constructor of int64 array | |
ok 599 - Correct elem value set by constructor of int64 array (1) | |
ok 600 - Correct elem value set by constructor of int64 array (2) | |
ok 601 - Correct elem value set by constructor of int64 array (3) | |
ok 602 - Correct elem value set by constructor of int64 array (4) | |
ok 603 - Can also get last 2 elements on int64 array | |
ok 604 - int64 array .flat returns a Seq | |
ok 605 - int64 array .eager returns identity | |
ok 606 - Can iterate over int64 array | |
ok 607 - Mutating for loop on int64 array works (1) | |
ok 608 - Mutating for loop on int64 array works (2) | |
ok 609 - Mutating for loop on int64 array works (3) | |
ok 610 - Mutating for loop on int64 array works (4) | |
ok 611 - Can map over int64 array | |
ok 612 - Mutating map on int64 array works (1) | |
ok 613 - Mutating map on int64 array works (2) | |
ok 614 - Mutating map on int64 array works (3) | |
ok 615 - Mutating map on int64 array works (4) | |
ok 616 - Can grep a int64 array | |
ok 617 - Can use reduce meta-op on a int64 array | |
ok 618 - .values from a int64 array | |
ok 619 - .pairup from a int64 array | |
ok 620 - .keys from a int64 array | |
ok 621 - .pairs from a int64 array | |
ok 622 - .antipairs from a int64 array | |
ok 623 - .kv from a int64 array | |
ok 624 - .pick from a int64 array | |
ok 625 - .roll from a int64 array | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .what matches array[int64] | |
ok 4 - .action matches pop | |
ok 626 - Trying to pop an empty int64 array dies | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .what matches array[int64] | |
ok 4 - .action matches shift | |
ok 627 - Trying to shift an empty int64 array dies | |
ok 628 - can push to int64 array | |
ok 629 - push to int64 array works (1) | |
ok 630 - push to int64 array works (2) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 631 - Cannot push non-int/Int to int64 array | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot bind to a natively typed array | |
# Failed test '.message matches Cannot bind to a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot bind to a natively typed array | |
# Got: Cannot bind to a native int array | |
# You failed 1 test of 3 | |
not ok 632 - Cannot push non-int/Int to int64 array | |
# Failed test 'Cannot push non-int/Int to int64 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 140 | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot delete from a natively typed array | |
# Failed test '.message matches Cannot delete from a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot delete from a natively typed array | |
# Got: Cannot delete from a native int array | |
# You failed 1 test of 3 | |
not ok 633 - Cannot push non-int/Int to int64 array | |
# Failed test 'Cannot push non-int/Int to int64 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 143 | |
ok 634 - can push multiple to int64 array | |
ok 635 - push multiple to int64 array works (1) | |
ok 636 - push multiple to int64 array works (2) | |
ok 637 - push multiple to int64 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 638 - Cannot push non-int/Int to int64 array (multiple push) | |
ok 639 - pop from int64 array works (1) | |
ok 640 - pop from int64 array works (2) | |
ok 641 - can unshift to int64 array | |
ok 642 - unshift to int64 array works (1) | |
ok 643 - unshift to int64 array works (2) | |
ok 644 - unshift to int64 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 645 - Cannot unshift non-int/Int to int64 array | |
ok 646 - can unshift multiple to int64 array | |
ok 647 - unshift multiple to int64 array works (1) | |
ok 648 - unshift multiple to int64 array works (2) | |
ok 649 - unshift multiple to int64 array works (3) | |
ok 650 - unshift multiple to int64 array works (4) | |
ok 651 - unshift multiple to int64 array works (5) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 652 - Cannot unshift non-int/Int to int64 array (multiple unshift) | |
ok 653 - shift from int64 array works (1) | |
ok 654 - shift from int64 array works (2) | |
ok 655 - can initialize int64 from Range | |
ok 656 - Number of elems after splice int64 array | |
ok 657 - Splice on int64 array did the right thing (1) | |
ok 658 - Splice on int64 array did the right thing (2) | |
ok 659 - Splice on int64 array did the right thing (3) | |
ok 660 - Splice on int64 array did the right thing (4) | |
ok 661 - Splice on int64 array did the right thing (5) | |
ok 662 - Number of returned spliced values from int64 array | |
ok 663 - Correct value in splice returned from int64 array (1) | |
ok 664 - Correct value in splice returned from int64 array (2) | |
ok 665 - .Str space-separates on int64 array | |
ok 666 - .gist space-separates on int64 array | |
ok 667 - .perl includes type and int values on int64 array | |
ok 668 - Flattening int64 array in call works | |
ok 669 - List-assigning int64 array to untyped works (1) | |
ok 670 - List-assigning int64 array to untyped works (2) | |
ok 671 - List-assigning int64 array to untyped works (3) | |
ok 672 - List-assign int64 array surrounded by literals (1) | |
ok 673 - List-assign int64 array surrounded by literals (2) | |
ok 674 - List-assign int64 array surrounded by literals (3) | |
ok 675 - List-assign int64 array surrounded by literals (4) | |
ok 676 - List-assign int64 array surrounded by literals (5) | |
ok 677 - List-assign untyped array of Int to int64 array (1) | |
ok 678 - List-assign untyped array of Int to int64 array (2) | |
ok 679 - List-assign untyped array of Int to int64 array (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 680 - List-assigning incompatible untyped array to int64 array dies | |
# Testing uint array | |
ok 681 - uint array type is Positional | |
ok 682 - uint array type is Positional[uint] | |
ok 683 - uint array type .of is uint | |
ok 684 - uint array is Positional | |
ok 685 - uint array is Positional[uint] | |
ok 686 - uint array .of is uint | |
ok 687 - uint array is Positional | |
ok 688 - uint array is Positional[uint] | |
ok 689 - uint array .of is uint | |
ok 690 - .new from uint array is Positional | |
ok 691 - .new from uint array Positional[uint] | |
ok 692 - .new from uint array .of is uint | |
ok 693 - New uint array has no elems | |
ok 694 - New uint array has end of -1 | |
ok 695 - New uint array Int-ifies to 0 | |
ok 696 - New uint array numifies to 0 | |
ok 697 - New uint array is falsey | |
ok 698 - Empty uint array is not lazy | |
ok 699 - Accessing non-existing on uint array gives 0 | |
ok 700 - Elems do not grow just from an access on uint array | |
ok 701 - Can store integer in an uint array | |
ok 702 - Can get value from uint array | |
ok 703 - The elems grew as expected on uint array | |
ok 704 - uint array becomes truthy when it has an element | |
ok 705 - Can slice-assign to an uint array | |
ok 706 - Can get slice-assigned value from uint array (1) | |
ok 707 - Can get slice-assigned value from uint array (2) | |
ok 708 - The elems grew as expected on uint array | |
ok 709 - The end value matches grown elems on uint array | |
ok 710 - Int-ifies to grown number of elems on uint array | |
ok 711 - Numifies to grown number of elems on uint array | |
ok 712 - uint array with values is not lazy | |
ok 713 - Can assign non-contiguously to uint array | |
ok 714 - Elems behind non-contiguous assign are 0 on uint array | |
ok 715 - Non-contiguous assignment works on uint array | |
ok 716 - Can also get last element on uint array | |
ok 717 - Can clear uint array by assigning empty list | |
ok 718 - Cleared uint array has no elems | |
ok 719 - Cleared uint array has end of -1 | |
ok 720 - Cleared uint array Int-ifies to 0 | |
ok 721 - Cleared uint array numifies to 0 | |
ok 722 - Cleared uint array is falsey | |
ok 723 - Can assign integer range to uint array | |
ok 724 - Got correct elems from range assign on uint array | |
ok 725 - Got correct element from range assign on uint array (1) | |
ok 726 - Got correct element from range assign on uint array (2) | |
ok 727 - :exists works on uint array (1) | |
ok 728 - :exists works on uint array (2) | |
ok 729 - :exists works on uint array (3) | |
ok 730 - Can call uint array constructor with a single value | |
ok 731 - Correct number of elems set in constructor of uint array | |
ok 732 - Correct element value set by constructor of uint array | |
ok 733 - Can call uint array constructor with values | |
ok 734 - Correct number of elems set in constructor of uint array | |
ok 735 - Correct elem value set by constructor of uint array (1) | |
ok 736 - Correct elem value set by constructor of uint array (2) | |
ok 737 - Correct elem value set by constructor of uint array (3) | |
ok 738 - Correct elem value set by constructor of uint array (4) | |
ok 739 - Can also get last 2 elements on uint array | |
ok 740 - uint array .flat returns a Seq | |
ok 741 - uint array .eager returns identity | |
ok 742 - Can iterate over uint array | |
ok 743 - Mutating for loop on uint array works (1) | |
ok 744 - Mutating for loop on uint array works (2) | |
ok 745 - Mutating for loop on uint array works (3) | |
ok 746 - Mutating for loop on uint array works (4) | |
ok 747 - Can map over uint array | |
ok 748 - Mutating map on uint array works (1) | |
ok 749 - Mutating map on uint array works (2) | |
ok 750 - Mutating map on uint array works (3) | |
ok 751 - Mutating map on uint array works (4) | |
ok 752 - Can grep a uint array | |
ok 753 - Can use reduce meta-op on a uint array | |
ok 754 - .values from a uint array | |
ok 755 - .pairup from a uint array | |
ok 756 - .keys from a uint array | |
ok 757 - .pairs from a uint array | |
ok 758 - .antipairs from a uint array | |
ok 759 - .kv from a uint array | |
ok 760 - .pick from a uint array | |
ok 761 - .roll from a uint array | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .what matches array[uint] | |
ok 4 - .action matches pop | |
ok 762 - Trying to pop an empty uint array dies | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .action matches shift | |
ok 4 - .what matches array[uint] | |
ok 763 - Trying to shift an empty uint array dies | |
ok 764 - can push to uint array | |
ok 765 - push to uint array works (1) | |
ok 766 - push to uint array works (2) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 767 - Cannot push non-int/Int to uint array | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot bind to a natively typed array | |
# Failed test '.message matches Cannot bind to a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot bind to a natively typed array | |
# Got: Cannot bind to a native int array | |
# You failed 1 test of 3 | |
not ok 768 - Cannot push non-int/Int to uint array | |
# Failed test 'Cannot push non-int/Int to uint array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 140 | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot delete from a natively typed array | |
# Failed test '.message matches Cannot delete from a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot delete from a natively typed array | |
# Got: Cannot delete from a native int array | |
# You failed 1 test of 3 | |
not ok 769 - Cannot push non-int/Int to uint array | |
# Failed test 'Cannot push non-int/Int to uint array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 143 | |
ok 770 - can push multiple to uint array | |
ok 771 - push multiple to uint array works (1) | |
ok 772 - push multiple to uint array works (2) | |
ok 773 - push multiple to uint array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 774 - Cannot push non-int/Int to uint array (multiple push) | |
ok 775 - pop from uint array works (1) | |
ok 776 - pop from uint array works (2) | |
ok 777 - can unshift to uint array | |
ok 778 - unshift to uint array works (1) | |
ok 779 - unshift to uint array works (2) | |
ok 780 - unshift to uint array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 781 - Cannot unshift non-int/Int to uint array | |
ok 782 - can unshift multiple to uint array | |
ok 783 - unshift multiple to uint array works (1) | |
ok 784 - unshift multiple to uint array works (2) | |
ok 785 - unshift multiple to uint array works (3) | |
ok 786 - unshift multiple to uint array works (4) | |
ok 787 - unshift multiple to uint array works (5) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 788 - Cannot unshift non-int/Int to uint array (multiple unshift) | |
ok 789 - shift from uint array works (1) | |
ok 790 - shift from uint array works (2) | |
ok 791 - can initialize uint from Range | |
ok 792 - Number of elems after splice uint array | |
ok 793 - Splice on uint array did the right thing (1) | |
ok 794 - Splice on uint array did the right thing (2) | |
ok 795 - Splice on uint array did the right thing (3) | |
ok 796 - Splice on uint array did the right thing (4) | |
ok 797 - Splice on uint array did the right thing (5) | |
ok 798 - Number of returned spliced values from uint array | |
ok 799 - Correct value in splice returned from uint array (1) | |
ok 800 - Correct value in splice returned from uint array (2) | |
ok 801 - .Str space-separates on uint array | |
ok 802 - .gist space-separates on uint array | |
ok 803 - .perl includes type and int values on uint array | |
ok 804 - Flattening uint array in call works | |
ok 805 - List-assigning uint array to untyped works (1) | |
ok 806 - List-assigning uint array to untyped works (2) | |
ok 807 - List-assigning uint array to untyped works (3) | |
ok 808 - List-assign uint array surrounded by literals (1) | |
ok 809 - List-assign uint array surrounded by literals (2) | |
ok 810 - List-assign uint array surrounded by literals (3) | |
ok 811 - List-assign uint array surrounded by literals (4) | |
ok 812 - List-assign uint array surrounded by literals (5) | |
ok 813 - List-assign untyped array of Int to uint array (1) | |
ok 814 - List-assign untyped array of Int to uint array (2) | |
ok 815 - List-assign untyped array of Int to uint array (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 816 - List-assigning incompatible untyped array to uint array dies | |
# Testing uint8 array | |
ok 817 - uint8 array type is Positional | |
ok 818 - uint8 array type is Positional[uint8] | |
ok 819 - uint8 array type .of is uint8 | |
ok 820 - uint8 array is Positional | |
ok 821 - uint8 array is Positional[uint8] | |
ok 822 - uint8 array .of is uint8 | |
ok 823 - uint8 array is Positional | |
ok 824 - uint8 array is Positional[uint8] | |
ok 825 - uint8 array .of is uint8 | |
ok 826 - .new from uint8 array is Positional | |
ok 827 - .new from uint8 array Positional[uint8] | |
ok 828 - .new from uint8 array .of is uint8 | |
ok 829 - New uint8 array has no elems | |
ok 830 - New uint8 array has end of -1 | |
ok 831 - New uint8 array Int-ifies to 0 | |
ok 832 - New uint8 array numifies to 0 | |
ok 833 - New uint8 array is falsey | |
ok 834 - Empty uint8 array is not lazy | |
ok 835 - Accessing non-existing on uint8 array gives 0 | |
ok 836 - Elems do not grow just from an access on uint8 array | |
ok 837 - Can store integer in an uint8 array | |
ok 838 - Can get value from uint8 array | |
ok 839 - The elems grew as expected on uint8 array | |
ok 840 - uint8 array becomes truthy when it has an element | |
ok 841 - Can slice-assign to an uint8 array | |
ok 842 - Can get slice-assigned value from uint8 array (1) | |
ok 843 - Can get slice-assigned value from uint8 array (2) | |
ok 844 - The elems grew as expected on uint8 array | |
ok 845 - The end value matches grown elems on uint8 array | |
ok 846 - Int-ifies to grown number of elems on uint8 array | |
ok 847 - Numifies to grown number of elems on uint8 array | |
ok 848 - uint8 array with values is not lazy | |
ok 849 - Can assign non-contiguously to uint8 array | |
ok 850 - Elems behind non-contiguous assign are 0 on uint8 array | |
ok 851 - Non-contiguous assignment works on uint8 array | |
ok 852 - Can also get last element on uint8 array | |
ok 853 - Can clear uint8 array by assigning empty list | |
ok 854 - Cleared uint8 array has no elems | |
ok 855 - Cleared uint8 array has end of -1 | |
ok 856 - Cleared uint8 array Int-ifies to 0 | |
ok 857 - Cleared uint8 array numifies to 0 | |
ok 858 - Cleared uint8 array is falsey | |
ok 859 - Can assign integer range to uint8 array | |
ok 860 - Got correct elems from range assign on uint8 array | |
ok 861 - Got correct element from range assign on uint8 array (1) | |
ok 862 - Got correct element from range assign on uint8 array (2) | |
ok 863 - :exists works on uint8 array (1) | |
ok 864 - :exists works on uint8 array (2) | |
ok 865 - :exists works on uint8 array (3) | |
ok 866 - Can call uint8 array constructor with a single value | |
ok 867 - Correct number of elems set in constructor of uint8 array | |
ok 868 - Correct element value set by constructor of uint8 array | |
ok 869 - Can call uint8 array constructor with values | |
ok 870 - Correct number of elems set in constructor of uint8 array | |
ok 871 - Correct elem value set by constructor of uint8 array (1) | |
ok 872 - Correct elem value set by constructor of uint8 array (2) | |
ok 873 - Correct elem value set by constructor of uint8 array (3) | |
ok 874 - Correct elem value set by constructor of uint8 array (4) | |
ok 875 - Can also get last 2 elements on uint8 array | |
ok 876 - uint8 array .flat returns a Seq | |
ok 877 - uint8 array .eager returns identity | |
ok 878 - Can iterate over uint8 array | |
ok 879 - Mutating for loop on uint8 array works (1) | |
ok 880 - Mutating for loop on uint8 array works (2) | |
ok 881 - Mutating for loop on uint8 array works (3) | |
ok 882 - Mutating for loop on uint8 array works (4) | |
ok 883 - Can map over uint8 array | |
ok 884 - Mutating map on uint8 array works (1) | |
ok 885 - Mutating map on uint8 array works (2) | |
ok 886 - Mutating map on uint8 array works (3) | |
ok 887 - Mutating map on uint8 array works (4) | |
ok 888 - Can grep a uint8 array | |
ok 889 - Can use reduce meta-op on a uint8 array | |
ok 890 - .values from a uint8 array | |
ok 891 - .pairup from a uint8 array | |
ok 892 - .keys from a uint8 array | |
ok 893 - .pairs from a uint8 array | |
ok 894 - .antipairs from a uint8 array | |
ok 895 - .kv from a uint8 array | |
ok 896 - .pick from a uint8 array | |
ok 897 - .roll from a uint8 array | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .action matches pop | |
ok 4 - .what matches array[uint8] | |
ok 898 - Trying to pop an empty uint8 array dies | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .what matches array[uint8] | |
ok 4 - .action matches shift | |
ok 899 - Trying to shift an empty uint8 array dies | |
ok 900 - can push to uint8 array | |
ok 901 - push to uint8 array works (1) | |
ok 902 - push to uint8 array works (2) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 903 - Cannot push non-int/Int to uint8 array | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot bind to a natively typed array | |
# Failed test '.message matches Cannot bind to a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot bind to a natively typed array | |
# Got: Cannot bind to a native int array | |
# You failed 1 test of 3 | |
not ok 904 - Cannot push non-int/Int to uint8 array | |
# Failed test 'Cannot push non-int/Int to uint8 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 140 | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot delete from a natively typed array | |
# Failed test '.message matches Cannot delete from a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot delete from a natively typed array | |
# Got: Cannot delete from a native int array | |
# You failed 1 test of 3 | |
not ok 905 - Cannot push non-int/Int to uint8 array | |
# Failed test 'Cannot push non-int/Int to uint8 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 143 | |
ok 906 - can push multiple to uint8 array | |
ok 907 - push multiple to uint8 array works (1) | |
ok 908 - push multiple to uint8 array works (2) | |
ok 909 - push multiple to uint8 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 910 - Cannot push non-int/Int to uint8 array (multiple push) | |
ok 911 - pop from uint8 array works (1) | |
ok 912 - pop from uint8 array works (2) | |
ok 913 - can unshift to uint8 array | |
ok 914 - unshift to uint8 array works (1) | |
ok 915 - unshift to uint8 array works (2) | |
ok 916 - unshift to uint8 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 917 - Cannot unshift non-int/Int to uint8 array | |
ok 918 - can unshift multiple to uint8 array | |
ok 919 - unshift multiple to uint8 array works (1) | |
ok 920 - unshift multiple to uint8 array works (2) | |
ok 921 - unshift multiple to uint8 array works (3) | |
ok 922 - unshift multiple to uint8 array works (4) | |
ok 923 - unshift multiple to uint8 array works (5) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 924 - Cannot unshift non-int/Int to uint8 array (multiple unshift) | |
ok 925 - shift from uint8 array works (1) | |
ok 926 - shift from uint8 array works (2) | |
ok 927 - can initialize uint8 from Range | |
ok 928 - Number of elems after splice uint8 array | |
ok 929 - Splice on uint8 array did the right thing (1) | |
ok 930 - Splice on uint8 array did the right thing (2) | |
ok 931 - Splice on uint8 array did the right thing (3) | |
ok 932 - Splice on uint8 array did the right thing (4) | |
ok 933 - Splice on uint8 array did the right thing (5) | |
ok 934 - Number of returned spliced values from uint8 array | |
ok 935 - Correct value in splice returned from uint8 array (1) | |
ok 936 - Correct value in splice returned from uint8 array (2) | |
ok 937 - .Str space-separates on uint8 array | |
ok 938 - .gist space-separates on uint8 array | |
ok 939 - .perl includes type and int values on uint8 array | |
ok 940 - Flattening uint8 array in call works | |
ok 941 - List-assigning uint8 array to untyped works (1) | |
ok 942 - List-assigning uint8 array to untyped works (2) | |
ok 943 - List-assigning uint8 array to untyped works (3) | |
ok 944 - List-assign uint8 array surrounded by literals (1) | |
ok 945 - List-assign uint8 array surrounded by literals (2) | |
ok 946 - List-assign uint8 array surrounded by literals (3) | |
ok 947 - List-assign uint8 array surrounded by literals (4) | |
ok 948 - List-assign uint8 array surrounded by literals (5) | |
ok 949 - List-assign untyped array of Int to uint8 array (1) | |
ok 950 - List-assign untyped array of Int to uint8 array (2) | |
ok 951 - List-assign untyped array of Int to uint8 array (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 952 - List-assigning incompatible untyped array to uint8 array dies | |
# Testing uint16 array | |
ok 953 - uint16 array type is Positional | |
ok 954 - uint16 array type is Positional[uint16] | |
ok 955 - uint16 array type .of is uint16 | |
ok 956 - uint16 array is Positional | |
ok 957 - uint16 array is Positional[uint16] | |
ok 958 - uint16 array .of is uint16 | |
ok 959 - uint16 array is Positional | |
ok 960 - uint16 array is Positional[uint16] | |
ok 961 - uint16 array .of is uint16 | |
ok 962 - .new from uint16 array is Positional | |
ok 963 - .new from uint16 array Positional[uint16] | |
ok 964 - .new from uint16 array .of is uint16 | |
ok 965 - New uint16 array has no elems | |
ok 966 - New uint16 array has end of -1 | |
ok 967 - New uint16 array Int-ifies to 0 | |
ok 968 - New uint16 array numifies to 0 | |
ok 969 - New uint16 array is falsey | |
ok 970 - Empty uint16 array is not lazy | |
ok 971 - Accessing non-existing on uint16 array gives 0 | |
ok 972 - Elems do not grow just from an access on uint16 array | |
ok 973 - Can store integer in an uint16 array | |
ok 974 - Can get value from uint16 array | |
ok 975 - The elems grew as expected on uint16 array | |
ok 976 - uint16 array becomes truthy when it has an element | |
ok 977 - Can slice-assign to an uint16 array | |
ok 978 - Can get slice-assigned value from uint16 array (1) | |
ok 979 - Can get slice-assigned value from uint16 array (2) | |
ok 980 - The elems grew as expected on uint16 array | |
ok 981 - The end value matches grown elems on uint16 array | |
ok 982 - Int-ifies to grown number of elems on uint16 array | |
ok 983 - Numifies to grown number of elems on uint16 array | |
ok 984 - uint16 array with values is not lazy | |
ok 985 - Can assign non-contiguously to uint16 array | |
ok 986 - Elems behind non-contiguous assign are 0 on uint16 array | |
ok 987 - Non-contiguous assignment works on uint16 array | |
ok 988 - Can also get last element on uint16 array | |
ok 989 - Can clear uint16 array by assigning empty list | |
ok 990 - Cleared uint16 array has no elems | |
ok 991 - Cleared uint16 array has end of -1 | |
ok 992 - Cleared uint16 array Int-ifies to 0 | |
ok 993 - Cleared uint16 array numifies to 0 | |
ok 994 - Cleared uint16 array is falsey | |
ok 995 - Can assign integer range to uint16 array | |
ok 996 - Got correct elems from range assign on uint16 array | |
ok 997 - Got correct element from range assign on uint16 array (1) | |
ok 998 - Got correct element from range assign on uint16 array (2) | |
ok 999 - :exists works on uint16 array (1) | |
ok 1000 - :exists works on uint16 array (2) | |
ok 1001 - :exists works on uint16 array (3) | |
ok 1002 - Can call uint16 array constructor with a single value | |
ok 1003 - Correct number of elems set in constructor of uint16 array | |
ok 1004 - Correct element value set by constructor of uint16 array | |
ok 1005 - Can call uint16 array constructor with values | |
ok 1006 - Correct number of elems set in constructor of uint16 array | |
ok 1007 - Correct elem value set by constructor of uint16 array (1) | |
ok 1008 - Correct elem value set by constructor of uint16 array (2) | |
ok 1009 - Correct elem value set by constructor of uint16 array (3) | |
ok 1010 - Correct elem value set by constructor of uint16 array (4) | |
ok 1011 - Can also get last 2 elements on uint16 array | |
ok 1012 - uint16 array .flat returns a Seq | |
ok 1013 - uint16 array .eager returns identity | |
ok 1014 - Can iterate over uint16 array | |
ok 1015 - Mutating for loop on uint16 array works (1) | |
ok 1016 - Mutating for loop on uint16 array works (2) | |
ok 1017 - Mutating for loop on uint16 array works (3) | |
ok 1018 - Mutating for loop on uint16 array works (4) | |
ok 1019 - Can map over uint16 array | |
ok 1020 - Mutating map on uint16 array works (1) | |
ok 1021 - Mutating map on uint16 array works (2) | |
ok 1022 - Mutating map on uint16 array works (3) | |
ok 1023 - Mutating map on uint16 array works (4) | |
ok 1024 - Can grep a uint16 array | |
ok 1025 - Can use reduce meta-op on a uint16 array | |
ok 1026 - .values from a uint16 array | |
ok 1027 - .pairup from a uint16 array | |
ok 1028 - .keys from a uint16 array | |
ok 1029 - .pairs from a uint16 array | |
ok 1030 - .antipairs from a uint16 array | |
ok 1031 - .kv from a uint16 array | |
ok 1032 - .pick from a uint16 array | |
ok 1033 - .roll from a uint16 array | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .what matches array[uint16] | |
ok 4 - .action matches pop | |
ok 1034 - Trying to pop an empty uint16 array dies | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .what matches array[uint16] | |
ok 4 - .action matches shift | |
ok 1035 - Trying to shift an empty uint16 array dies | |
ok 1036 - can push to uint16 array | |
ok 1037 - push to uint16 array works (1) | |
ok 1038 - push to uint16 array works (2) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1039 - Cannot push non-int/Int to uint16 array | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot bind to a natively typed array | |
# Failed test '.message matches Cannot bind to a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot bind to a natively typed array | |
# Got: Cannot bind to a native int array | |
# You failed 1 test of 3 | |
not ok 1040 - Cannot push non-int/Int to uint16 array | |
# Failed test 'Cannot push non-int/Int to uint16 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 140 | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot delete from a natively typed array | |
# Failed test '.message matches Cannot delete from a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot delete from a natively typed array | |
# Got: Cannot delete from a native int array | |
# You failed 1 test of 3 | |
not ok 1041 - Cannot push non-int/Int to uint16 array | |
# Failed test 'Cannot push non-int/Int to uint16 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 143 | |
ok 1042 - can push multiple to uint16 array | |
ok 1043 - push multiple to uint16 array works (1) | |
ok 1044 - push multiple to uint16 array works (2) | |
ok 1045 - push multiple to uint16 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1046 - Cannot push non-int/Int to uint16 array (multiple push) | |
ok 1047 - pop from uint16 array works (1) | |
ok 1048 - pop from uint16 array works (2) | |
ok 1049 - can unshift to uint16 array | |
ok 1050 - unshift to uint16 array works (1) | |
ok 1051 - unshift to uint16 array works (2) | |
ok 1052 - unshift to uint16 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1053 - Cannot unshift non-int/Int to uint16 array | |
ok 1054 - can unshift multiple to uint16 array | |
ok 1055 - unshift multiple to uint16 array works (1) | |
ok 1056 - unshift multiple to uint16 array works (2) | |
ok 1057 - unshift multiple to uint16 array works (3) | |
ok 1058 - unshift multiple to uint16 array works (4) | |
ok 1059 - unshift multiple to uint16 array works (5) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1060 - Cannot unshift non-int/Int to uint16 array (multiple unshift) | |
ok 1061 - shift from uint16 array works (1) | |
ok 1062 - shift from uint16 array works (2) | |
ok 1063 - can initialize uint16 from Range | |
ok 1064 - Number of elems after splice uint16 array | |
ok 1065 - Splice on uint16 array did the right thing (1) | |
ok 1066 - Splice on uint16 array did the right thing (2) | |
ok 1067 - Splice on uint16 array did the right thing (3) | |
ok 1068 - Splice on uint16 array did the right thing (4) | |
ok 1069 - Splice on uint16 array did the right thing (5) | |
ok 1070 - Number of returned spliced values from uint16 array | |
ok 1071 - Correct value in splice returned from uint16 array (1) | |
ok 1072 - Correct value in splice returned from uint16 array (2) | |
ok 1073 - .Str space-separates on uint16 array | |
ok 1074 - .gist space-separates on uint16 array | |
ok 1075 - .perl includes type and int values on uint16 array | |
ok 1076 - Flattening uint16 array in call works | |
ok 1077 - List-assigning uint16 array to untyped works (1) | |
ok 1078 - List-assigning uint16 array to untyped works (2) | |
ok 1079 - List-assigning uint16 array to untyped works (3) | |
ok 1080 - List-assign uint16 array surrounded by literals (1) | |
ok 1081 - List-assign uint16 array surrounded by literals (2) | |
ok 1082 - List-assign uint16 array surrounded by literals (3) | |
ok 1083 - List-assign uint16 array surrounded by literals (4) | |
ok 1084 - List-assign uint16 array surrounded by literals (5) | |
ok 1085 - List-assign untyped array of Int to uint16 array (1) | |
ok 1086 - List-assign untyped array of Int to uint16 array (2) | |
ok 1087 - List-assign untyped array of Int to uint16 array (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1088 - List-assigning incompatible untyped array to uint16 array dies | |
# Testing uint32 array | |
ok 1089 - uint32 array type is Positional | |
ok 1090 - uint32 array type is Positional[uint32] | |
ok 1091 - uint32 array type .of is uint32 | |
ok 1092 - uint32 array is Positional | |
ok 1093 - uint32 array is Positional[uint32] | |
ok 1094 - uint32 array .of is uint32 | |
ok 1095 - uint32 array is Positional | |
ok 1096 - uint32 array is Positional[uint32] | |
ok 1097 - uint32 array .of is uint32 | |
ok 1098 - .new from uint32 array is Positional | |
ok 1099 - .new from uint32 array Positional[uint32] | |
ok 1100 - .new from uint32 array .of is uint32 | |
ok 1101 - New uint32 array has no elems | |
ok 1102 - New uint32 array has end of -1 | |
ok 1103 - New uint32 array Int-ifies to 0 | |
ok 1104 - New uint32 array numifies to 0 | |
ok 1105 - New uint32 array is falsey | |
ok 1106 - Empty uint32 array is not lazy | |
ok 1107 - Accessing non-existing on uint32 array gives 0 | |
ok 1108 - Elems do not grow just from an access on uint32 array | |
ok 1109 - Can store integer in an uint32 array | |
ok 1110 - Can get value from uint32 array | |
ok 1111 - The elems grew as expected on uint32 array | |
ok 1112 - uint32 array becomes truthy when it has an element | |
ok 1113 - Can slice-assign to an uint32 array | |
ok 1114 - Can get slice-assigned value from uint32 array (1) | |
ok 1115 - Can get slice-assigned value from uint32 array (2) | |
ok 1116 - The elems grew as expected on uint32 array | |
ok 1117 - The end value matches grown elems on uint32 array | |
ok 1118 - Int-ifies to grown number of elems on uint32 array | |
ok 1119 - Numifies to grown number of elems on uint32 array | |
ok 1120 - uint32 array with values is not lazy | |
ok 1121 - Can assign non-contiguously to uint32 array | |
ok 1122 - Elems behind non-contiguous assign are 0 on uint32 array | |
ok 1123 - Non-contiguous assignment works on uint32 array | |
ok 1124 - Can also get last element on uint32 array | |
ok 1125 - Can clear uint32 array by assigning empty list | |
ok 1126 - Cleared uint32 array has no elems | |
ok 1127 - Cleared uint32 array has end of -1 | |
ok 1128 - Cleared uint32 array Int-ifies to 0 | |
ok 1129 - Cleared uint32 array numifies to 0 | |
ok 1130 - Cleared uint32 array is falsey | |
ok 1131 - Can assign integer range to uint32 array | |
ok 1132 - Got correct elems from range assign on uint32 array | |
ok 1133 - Got correct element from range assign on uint32 array (1) | |
ok 1134 - Got correct element from range assign on uint32 array (2) | |
ok 1135 - :exists works on uint32 array (1) | |
ok 1136 - :exists works on uint32 array (2) | |
ok 1137 - :exists works on uint32 array (3) | |
ok 1138 - Can call uint32 array constructor with a single value | |
ok 1139 - Correct number of elems set in constructor of uint32 array | |
ok 1140 - Correct element value set by constructor of uint32 array | |
ok 1141 - Can call uint32 array constructor with values | |
ok 1142 - Correct number of elems set in constructor of uint32 array | |
ok 1143 - Correct elem value set by constructor of uint32 array (1) | |
ok 1144 - Correct elem value set by constructor of uint32 array (2) | |
ok 1145 - Correct elem value set by constructor of uint32 array (3) | |
ok 1146 - Correct elem value set by constructor of uint32 array (4) | |
ok 1147 - Can also get last 2 elements on uint32 array | |
ok 1148 - uint32 array .flat returns a Seq | |
ok 1149 - uint32 array .eager returns identity | |
ok 1150 - Can iterate over uint32 array | |
ok 1151 - Mutating for loop on uint32 array works (1) | |
ok 1152 - Mutating for loop on uint32 array works (2) | |
ok 1153 - Mutating for loop on uint32 array works (3) | |
ok 1154 - Mutating for loop on uint32 array works (4) | |
ok 1155 - Can map over uint32 array | |
ok 1156 - Mutating map on uint32 array works (1) | |
ok 1157 - Mutating map on uint32 array works (2) | |
ok 1158 - Mutating map on uint32 array works (3) | |
ok 1159 - Mutating map on uint32 array works (4) | |
ok 1160 - Can grep a uint32 array | |
ok 1161 - Can use reduce meta-op on a uint32 array | |
ok 1162 - .values from a uint32 array | |
ok 1163 - .pairup from a uint32 array | |
ok 1164 - .keys from a uint32 array | |
ok 1165 - .pairs from a uint32 array | |
ok 1166 - .antipairs from a uint32 array | |
ok 1167 - .kv from a uint32 array | |
ok 1168 - .pick from a uint32 array | |
ok 1169 - .roll from a uint32 array | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .action matches pop | |
ok 4 - .what matches array[uint32] | |
ok 1170 - Trying to pop an empty uint32 array dies | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .action matches shift | |
ok 4 - .what matches array[uint32] | |
ok 1171 - Trying to shift an empty uint32 array dies | |
ok 1172 - can push to uint32 array | |
ok 1173 - push to uint32 array works (1) | |
ok 1174 - push to uint32 array works (2) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1175 - Cannot push non-int/Int to uint32 array | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot bind to a natively typed array | |
# Failed test '.message matches Cannot bind to a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot bind to a natively typed array | |
# Got: Cannot bind to a native int array | |
# You failed 1 test of 3 | |
not ok 1176 - Cannot push non-int/Int to uint32 array | |
# Failed test 'Cannot push non-int/Int to uint32 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 140 | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot delete from a natively typed array | |
# Failed test '.message matches Cannot delete from a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot delete from a natively typed array | |
# Got: Cannot delete from a native int array | |
# You failed 1 test of 3 | |
not ok 1177 - Cannot push non-int/Int to uint32 array | |
# Failed test 'Cannot push non-int/Int to uint32 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 143 | |
ok 1178 - can push multiple to uint32 array | |
ok 1179 - push multiple to uint32 array works (1) | |
ok 1180 - push multiple to uint32 array works (2) | |
ok 1181 - push multiple to uint32 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1182 - Cannot push non-int/Int to uint32 array (multiple push) | |
ok 1183 - pop from uint32 array works (1) | |
ok 1184 - pop from uint32 array works (2) | |
ok 1185 - can unshift to uint32 array | |
ok 1186 - unshift to uint32 array works (1) | |
ok 1187 - unshift to uint32 array works (2) | |
ok 1188 - unshift to uint32 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1189 - Cannot unshift non-int/Int to uint32 array | |
ok 1190 - can unshift multiple to uint32 array | |
ok 1191 - unshift multiple to uint32 array works (1) | |
ok 1192 - unshift multiple to uint32 array works (2) | |
ok 1193 - unshift multiple to uint32 array works (3) | |
ok 1194 - unshift multiple to uint32 array works (4) | |
ok 1195 - unshift multiple to uint32 array works (5) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1196 - Cannot unshift non-int/Int to uint32 array (multiple unshift) | |
ok 1197 - shift from uint32 array works (1) | |
ok 1198 - shift from uint32 array works (2) | |
ok 1199 - can initialize uint32 from Range | |
ok 1200 - Number of elems after splice uint32 array | |
ok 1201 - Splice on uint32 array did the right thing (1) | |
ok 1202 - Splice on uint32 array did the right thing (2) | |
ok 1203 - Splice on uint32 array did the right thing (3) | |
ok 1204 - Splice on uint32 array did the right thing (4) | |
ok 1205 - Splice on uint32 array did the right thing (5) | |
ok 1206 - Number of returned spliced values from uint32 array | |
ok 1207 - Correct value in splice returned from uint32 array (1) | |
ok 1208 - Correct value in splice returned from uint32 array (2) | |
ok 1209 - .Str space-separates on uint32 array | |
ok 1210 - .gist space-separates on uint32 array | |
ok 1211 - .perl includes type and int values on uint32 array | |
ok 1212 - Flattening uint32 array in call works | |
ok 1213 - List-assigning uint32 array to untyped works (1) | |
ok 1214 - List-assigning uint32 array to untyped works (2) | |
ok 1215 - List-assigning uint32 array to untyped works (3) | |
ok 1216 - List-assign uint32 array surrounded by literals (1) | |
ok 1217 - List-assign uint32 array surrounded by literals (2) | |
ok 1218 - List-assign uint32 array surrounded by literals (3) | |
ok 1219 - List-assign uint32 array surrounded by literals (4) | |
ok 1220 - List-assign uint32 array surrounded by literals (5) | |
ok 1221 - List-assign untyped array of Int to uint32 array (1) | |
ok 1222 - List-assign untyped array of Int to uint32 array (2) | |
ok 1223 - List-assign untyped array of Int to uint32 array (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1224 - List-assigning incompatible untyped array to uint32 array dies | |
# Testing uint64 array | |
ok 1225 - uint64 array type is Positional | |
ok 1226 - uint64 array type is Positional[uint64] | |
ok 1227 - uint64 array type .of is uint64 | |
ok 1228 - uint64 array is Positional | |
ok 1229 - uint64 array is Positional[uint64] | |
ok 1230 - uint64 array .of is uint64 | |
ok 1231 - uint64 array is Positional | |
ok 1232 - uint64 array is Positional[uint64] | |
ok 1233 - uint64 array .of is uint64 | |
ok 1234 - .new from uint64 array is Positional | |
ok 1235 - .new from uint64 array Positional[uint64] | |
ok 1236 - .new from uint64 array .of is uint64 | |
ok 1237 - New uint64 array has no elems | |
ok 1238 - New uint64 array has end of -1 | |
ok 1239 - New uint64 array Int-ifies to 0 | |
ok 1240 - New uint64 array numifies to 0 | |
ok 1241 - New uint64 array is falsey | |
ok 1242 - Empty uint64 array is not lazy | |
ok 1243 - Accessing non-existing on uint64 array gives 0 | |
ok 1244 - Elems do not grow just from an access on uint64 array | |
ok 1245 - Can store integer in an uint64 array | |
ok 1246 - Can get value from uint64 array | |
ok 1247 - The elems grew as expected on uint64 array | |
ok 1248 - uint64 array becomes truthy when it has an element | |
ok 1249 - Can slice-assign to an uint64 array | |
ok 1250 - Can get slice-assigned value from uint64 array (1) | |
ok 1251 - Can get slice-assigned value from uint64 array (2) | |
ok 1252 - The elems grew as expected on uint64 array | |
ok 1253 - The end value matches grown elems on uint64 array | |
ok 1254 - Int-ifies to grown number of elems on uint64 array | |
ok 1255 - Numifies to grown number of elems on uint64 array | |
ok 1256 - uint64 array with values is not lazy | |
ok 1257 - Can assign non-contiguously to uint64 array | |
ok 1258 - Elems behind non-contiguous assign are 0 on uint64 array | |
ok 1259 - Non-contiguous assignment works on uint64 array | |
ok 1260 - Can also get last element on uint64 array | |
ok 1261 - Can clear uint64 array by assigning empty list | |
ok 1262 - Cleared uint64 array has no elems | |
ok 1263 - Cleared uint64 array has end of -1 | |
ok 1264 - Cleared uint64 array Int-ifies to 0 | |
ok 1265 - Cleared uint64 array numifies to 0 | |
ok 1266 - Cleared uint64 array is falsey | |
ok 1267 - Can assign integer range to uint64 array | |
ok 1268 - Got correct elems from range assign on uint64 array | |
ok 1269 - Got correct element from range assign on uint64 array (1) | |
ok 1270 - Got correct element from range assign on uint64 array (2) | |
ok 1271 - :exists works on uint64 array (1) | |
ok 1272 - :exists works on uint64 array (2) | |
ok 1273 - :exists works on uint64 array (3) | |
ok 1274 - Can call uint64 array constructor with a single value | |
ok 1275 - Correct number of elems set in constructor of uint64 array | |
ok 1276 - Correct element value set by constructor of uint64 array | |
ok 1277 - Can call uint64 array constructor with values | |
ok 1278 - Correct number of elems set in constructor of uint64 array | |
ok 1279 - Correct elem value set by constructor of uint64 array (1) | |
ok 1280 - Correct elem value set by constructor of uint64 array (2) | |
ok 1281 - Correct elem value set by constructor of uint64 array (3) | |
ok 1282 - Correct elem value set by constructor of uint64 array (4) | |
ok 1283 - Can also get last 2 elements on uint64 array | |
ok 1284 - uint64 array .flat returns a Seq | |
ok 1285 - uint64 array .eager returns identity | |
ok 1286 - Can iterate over uint64 array | |
ok 1287 - Mutating for loop on uint64 array works (1) | |
ok 1288 - Mutating for loop on uint64 array works (2) | |
ok 1289 - Mutating for loop on uint64 array works (3) | |
ok 1290 - Mutating for loop on uint64 array works (4) | |
ok 1291 - Can map over uint64 array | |
ok 1292 - Mutating map on uint64 array works (1) | |
ok 1293 - Mutating map on uint64 array works (2) | |
ok 1294 - Mutating map on uint64 array works (3) | |
ok 1295 - Mutating map on uint64 array works (4) | |
ok 1296 - Can grep a uint64 array | |
ok 1297 - Can use reduce meta-op on a uint64 array | |
ok 1298 - .values from a uint64 array | |
ok 1299 - .pairup from a uint64 array | |
ok 1300 - .keys from a uint64 array | |
ok 1301 - .pairs from a uint64 array | |
ok 1302 - .antipairs from a uint64 array | |
ok 1303 - .kv from a uint64 array | |
ok 1304 - .pick from a uint64 array | |
ok 1305 - .roll from a uint64 array | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .what matches array[uint64] | |
ok 4 - .action matches pop | |
ok 1306 - Trying to pop an empty uint64 array dies | |
1..4 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Cannot::Empty) | |
ok 3 - .action matches shift | |
ok 4 - .what matches array[uint64] | |
ok 1307 - Trying to shift an empty uint64 array dies | |
ok 1308 - can push to uint64 array | |
ok 1309 - push to uint64 array works (1) | |
ok 1310 - push to uint64 array works (2) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1311 - Cannot push non-int/Int to uint64 array | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot bind to a natively typed array | |
# Failed test '.message matches Cannot bind to a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot bind to a natively typed array | |
# Got: Cannot bind to a native int array | |
# You failed 1 test of 3 | |
not ok 1312 - Cannot push non-int/Int to uint64 array | |
# Failed test 'Cannot push non-int/Int to uint64 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 140 | |
1..3 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
not ok 3 - .message matches Cannot delete from a natively typed array | |
# Failed test '.message matches Cannot delete from a natively typed array' | |
# at SETTING::src/core.c/Any-iterable-methods.pm6 line 627 | |
# Expected: Cannot delete from a natively typed array | |
# Got: Cannot delete from a native int array | |
# You failed 1 test of 3 | |
not ok 1313 - Cannot push non-int/Int to uint64 array | |
# Failed test 'Cannot push non-int/Int to uint64 array' | |
# at S09-typed-arrays/native-int.rakudo.moar line 143 | |
ok 1314 - can push multiple to uint64 array | |
ok 1315 - push multiple to uint64 array works (1) | |
ok 1316 - push multiple to uint64 array works (2) | |
ok 1317 - push multiple to uint64 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1318 - Cannot push non-int/Int to uint64 array (multiple push) | |
ok 1319 - pop from uint64 array works (1) | |
ok 1320 - pop from uint64 array works (2) | |
ok 1321 - can unshift to uint64 array | |
ok 1322 - unshift to uint64 array works (1) | |
ok 1323 - unshift to uint64 array works (2) | |
ok 1324 - unshift to uint64 array works (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1325 - Cannot unshift non-int/Int to uint64 array | |
ok 1326 - can unshift multiple to uint64 array | |
ok 1327 - unshift multiple to uint64 array works (1) | |
ok 1328 - unshift multiple to uint64 array works (2) | |
ok 1329 - unshift multiple to uint64 array works (3) | |
ok 1330 - unshift multiple to uint64 array works (4) | |
ok 1331 - unshift multiple to uint64 array works (5) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1332 - Cannot unshift non-int/Int to uint64 array (multiple unshift) | |
ok 1333 - shift from uint64 array works (1) | |
ok 1334 - shift from uint64 array works (2) | |
ok 1335 - can initialize uint64 from Range | |
ok 1336 - Number of elems after splice uint64 array | |
ok 1337 - Splice on uint64 array did the right thing (1) | |
ok 1338 - Splice on uint64 array did the right thing (2) | |
ok 1339 - Splice on uint64 array did the right thing (3) | |
ok 1340 - Splice on uint64 array did the right thing (4) | |
ok 1341 - Splice on uint64 array did the right thing (5) | |
ok 1342 - Number of returned spliced values from uint64 array | |
ok 1343 - Correct value in splice returned from uint64 array (1) | |
ok 1344 - Correct value in splice returned from uint64 array (2) | |
ok 1345 - .Str space-separates on uint64 array | |
ok 1346 - .gist space-separates on uint64 array | |
ok 1347 - .perl includes type and int values on uint64 array | |
ok 1348 - Flattening uint64 array in call works | |
ok 1349 - List-assigning uint64 array to untyped works (1) | |
ok 1350 - List-assigning uint64 array to untyped works (2) | |
ok 1351 - List-assigning uint64 array to untyped works (3) | |
ok 1352 - List-assign uint64 array surrounded by literals (1) | |
ok 1353 - List-assign uint64 array surrounded by literals (2) | |
ok 1354 - List-assign uint64 array surrounded by literals (3) | |
ok 1355 - List-assign uint64 array surrounded by literals (4) | |
ok 1356 - List-assign uint64 array surrounded by literals (5) | |
ok 1357 - List-assign untyped array of Int to uint64 array (1) | |
ok 1358 - List-assign untyped array of Int to uint64 array (2) | |
ok 1359 - List-assign untyped array of Int to uint64 array (3) | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 1360 - List-assigning incompatible untyped array to uint64 array dies | |
# Testing uint array for unsigned features | |
ok 1361 - assigning -1 on uint array passes value on through? | |
not ok 1362 - negative value on uint array becomes positive # TODO highest bit length stays negative, RT #124088 | |
# Failed test 'negative value on uint array becomes positive' | |
# at S09-typed-arrays/native-int.rakudo.moar line 236 | |
# Testing uint8 array for unsigned features | |
ok 1363 - assigning -1 on uint8 array passes value on through? | |
ok 1364 - negative value on uint8 array becomes positive | |
# Testing uint16 array for unsigned features | |
ok 1365 - assigning -1 on uint16 array passes value on through? | |
ok 1366 - negative value on uint16 array becomes positive | |
# Testing uint32 array for unsigned features | |
ok 1367 - assigning -1 on uint32 array passes value on through? | |
ok 1368 - negative value on uint32 array becomes positive | |
# Testing uint64 array for unsigned features | |
ok 1369 - assigning -1 on uint64 array passes value on through? | |
not ok 1370 - negative value on uint64 array becomes positive # TODO highest bit length stays negative, RT #124088 | |
# Failed test 'negative value on uint64 array becomes positive' | |
# at S09-typed-arrays/native-int.rakudo.moar line 236 | |
# FUDGED! | |
# You failed 20 tests of 1370 | |
➜ spec git:(master) git rev-parse HEAD | |
b97dfa098fd2dd8bfdf22f47ec820ab07fafbab3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment