Created
October 3, 2019 19:12
-
-
Save Whateverable/b91333bc9b28d1366c1563055c28d4c6 to your computer and use it in GitHub Desktop.
committable6
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
2019.03 run <<$*EXECUTABLE --profile sandbox/roast/S03-operators/repeat.t>> |
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
¦«2019.03»: | |
1..62 | |
ok 1 - string repeat operator works on single character | |
ok 2 - string repeat operator works on multiple character | |
ok 3 - number repeat operator works on number and creates string | |
ok 4 - repeating an empty string creates an empty string | |
ok 5 - repeating zero times produces an empty string | |
ok 6 - repeating negative times produces an empty string | |
ok 7 - repeating with a fractional number coerces to Int | |
Use of uninitialized value of type Int in numeric context | |
in block <unit> at sandbox/roast/S03-operators/repeat.t line 24 | |
ok 8 - x with Int type object | |
1..2 | |
ok 1 - ''a' x -NaN' died | |
ok 2 - right exception type (X::Numeric::CannotConvert) | |
ok 9 - repeating with -NaN dies | |
1..2 | |
ok 1 - ''a' x NaN' died | |
ok 2 - right exception type (X::Numeric::CannotConvert) | |
ok 10 - repeating with NaN dies | |
1..2 | |
ok 1 - ''a' x -Inf' died | |
ok 2 - right exception type (X::Numeric::CannotConvert) | |
ok 11 - repeating with -Inf dies | |
ok 12 - repeating with * is a WhateverCode | |
1..2 | |
ok 1 - ''a' xx -NaN' died | |
ok 2 - right exception type (X::Numeric::CannotConvert) | |
ok 13 - list repeating with -NaN fails | |
1..2 | |
ok 1 - ''a' xx NaN' died | |
ok 2 - right exception type (X::Numeric::CannotConvert) | |
ok 14 - list repeating with NaN fails | |
1..2 | |
ok 1 - ''a' xx -Inf' died | |
ok 2 - right exception type (X::Numeric::CannotConvert) | |
ok 15 - list repeating with -Inf fails | |
ok 16 - list repeat operator created correct array | |
ok 17 - list repeat operator created correct array | |
ok 18 - list repeat operator created array of the right size | |
ok 19 - can repeat Mu | |
ok 20 - can repeat lists | |
ok 21 - can repeat lists | |
ok 22 - can repeat lists | |
ok 23 - can repeat lists | |
ok 24 - repeating zero times produces an empty list | |
ok 25 - repeating negative times produces an empty list | |
ok 26 - can create 2d arrays | |
ok 27 - operator x= for string works | |
ok 28 - operator x= for string repeats correct | |
ok 29 - basic infix:<xx> | |
ok 30 - change to one item left the others unchanged | |
ok 31 - basic sanity with <x y> xx 3 | |
ok 32 - change to one item left the others unchanged | |
ok 33 - repeat properly numifies rhs | |
ok 34 - xx understands Whatevers | |
ok 35 - xx thunks the LHS | |
ok 36 - xx works on a lazy list | |
ok 37 - xx Inf | |
ok 38 - xx * is lazy | |
ok 39 - xx 3 is not lazy | |
ok 40 - xx retains structure with list on LHS | |
ok 41 - xx retained list structure can be flattened with .flat | |
ok 42 - xx retains structure with Seq on LHS | |
ok 43 - xx retained Seq structure can be flattened with .flat | |
ok 44 - xx * retains structure with list on LHS | |
ok 45 - xx * retains structure with Seq on LHS | |
ok 46 - xx does not sink | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 47 - xx with no args throws | |
ok 48 - xx with single arg is identity | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: base-10 number must begin with valid digits or '.' in '⏏b' (indicated by ⏏) | |
ok 49 - (& xx *) works as & xx Inf | |
ok 50 - (& xx Inf) works as & xx Inf | |
ok 51 - (& xx Num) works as & xx Int | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Str::Numeric) | |
ok 52 - x does not silence failures | |
Use of uninitialized value of type Int in numeric context | |
in block at sandbox/roast/S03-operators/repeat.t line 154 | |
ok 53 - type objects get interpreted as 0 iterations | |
1..2 | |
ok 1 - 'rand xx '123aaa'' died | |
ok 2 - right exception type (X::Str::Numeric) | |
ok 54 - Failures in RHS of xx explode (callable LHS) | |
1..2 | |
ok 1 - '42 xx '123aaa'' died | |
ok 2 - right exception type (X::Str::Numeric) | |
ok 55 - Failures in RHS of xx explode (Int LHS) | |
1..2 | |
ok 1 - code threw a warning | |
ok 2 - warning message passes test | |
ok 56 - using an unitialized value in repeat count throws | |
ok 57 - empty slip with xx * works | |
ok 58 - Repeat operator keeps text normalized (normalization + canonical combining class reordering) | |
ok 59 - Repeat operator keeps text normalized (normalization + canonical combining class reordering) | |
ok 60 - Nested xx in for-loop | |
ok 61 - xx does not keep containers around | |
1..6 | |
1..3 | |
ok 1 - bool-only gives true | |
ok 2 - count-only is right | |
ok 3 - sinking did not "hang" | |
ok 1 - 2⁹⁹⁹⁹⁹ | |
1..3 | |
ok 1 - bool-only gives true | |
ok 2 - count-only is right | |
ok 3 - sinking did not "hang" | |
ok 2 - 9999999999 | |
1..3 | |
ok 1 - bool-only gives true | |
ok 2 - count-only is right | |
ok 3 - sinking did not "hang" | |
ok 3 - 2 ** 62 | |
1..3 | |
ok 1 - bool-only gives true | |
ok 2 - count-only is right | |
ok 3 - sinking did not "hang" | |
ok 4 - ∞ | |
1..3 | |
ok 1 - bool-only gives true | |
ok 2 - count-only is right | |
ok 3 - sinking did not "hang" | |
ok 5 - Inf | |
1..3 | |
ok 1 - bool-only gives true | |
ok 2 - count-only is right | |
ok 3 - sinking did not "hang" | |
ok 6 - * | |
ok 62 - sunk, plain value `xx` sink cheaply | |
Writing profiler output to profile-1570129978.1881685.html | |
Some exceptions were thrown in END blocks: | |
X::AdHoc: Failed to open file profile-1570129978.1881685.html: Read-only file system | |
in any open at gen/moar/stage2/NQPCORE.setting line 733 | |
in any open at gen/moar/stage2/NQPCORE.setting line 899 | |
in any <main> at /tmp/whateverable/rakudo-moar/47e34445f48430ade9f19bf76631b7d6adea5d84/share/perl6/runtime/perl6.moarvm line 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment