Created
September 14, 2017 19:04
-
-
Save zoffixznet/22f483f53f409506c4325e834772fc0d 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
cpan@perlbuild4~/CPANPRC/rakudo (nom)$ t/fudgeandrun t/spec/S02-types/int-uint.t | |
t/spec/S02-types/int-uint.rakudo.moar .. | |
1..92 | |
ok 1 - int8 can be 127 | |
ok 2 - int8 can be -128 | |
ok 3 - int8 overflows to -128 | |
ok 4 - int8 underflows to 127 | |
1..2 | |
not ok 1 - code dies # TODO setting more than max throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 77 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 5 - setting int8 to more than 127 throws # TODO setting more than max throws | |
# Failed test 'setting int8 to more than 127 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 77 | |
1..2 | |
not ok 1 - code dies # TODO setting less than min throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 6 - setting int8 to less than -128 throws # TODO setting less than min throws | |
# Failed test 'setting int8 to less than -128 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 7 - int8 cannot be a string | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 8 - int8 cannot be non-integer | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 9 - int8 cannot be NaN | |
ok 10 - int8 $var++ works | |
ok 11 - int8 $var-- works | |
ok 12 - uint8 can be 255 | |
ok 13 - uint8 can be 0 | |
ok 14 - uint8 overflows to 0 | |
ok 15 - uint8 underflows to 255 | |
1..2 | |
not ok 1 - code dies # TODO setting more than max throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 77 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 16 - setting uint8 to more than 255 throws # TODO setting more than max throws | |
# Failed test 'setting uint8 to more than 255 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 77 | |
1..2 | |
not ok 1 - code dies # TODO setting less than min throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 17 - setting uint8 to less than 0 throws # TODO setting less than min throws | |
# Failed test 'setting uint8 to less than 0 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 18 - uint8 cannot be a string | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 19 - uint8 cannot be non-integer | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 20 - uint8 cannot be NaN | |
ok 21 - uint8 $var++ works | |
ok 22 - uint8 $var-- works | |
ok 23 - int16 can be 32767 | |
ok 24 - int16 can be -32768 | |
ok 25 - int16 overflows to -32768 | |
ok 26 - int16 underflows to 32767 | |
1..2 | |
not ok 1 - code dies # TODO setting more than max throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 77 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 27 - setting int16 to more than 32767 throws # TODO setting more than max throws | |
# Failed test 'setting int16 to more than 32767 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 77 | |
1..2 | |
not ok 1 - code dies # TODO setting less than min throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 28 - setting int16 to less than -32768 throws # TODO setting less than min throws | |
# Failed test 'setting int16 to less than -32768 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 29 - int16 cannot be a string | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 30 - int16 cannot be non-integer | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 31 - int16 cannot be NaN | |
ok 32 - int16 $var++ works | |
ok 33 - int16 $var-- works | |
ok 34 - uint16 can be 65535 | |
ok 35 - uint16 can be 0 | |
ok 36 - uint16 overflows to 0 | |
ok 37 - uint16 underflows to 65535 | |
1..2 | |
not ok 1 - code dies # TODO setting more than max throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 77 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 38 - setting uint16 to more than 65535 throws # TODO setting more than max throws | |
# Failed test 'setting uint16 to more than 65535 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 77 | |
1..2 | |
not ok 1 - code dies # TODO setting less than min throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 39 - setting uint16 to less than 0 throws # TODO setting less than min throws | |
# Failed test 'setting uint16 to less than 0 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 40 - uint16 cannot be a string | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 41 - uint16 cannot be non-integer | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 42 - uint16 cannot be NaN | |
ok 43 - uint16 $var++ works | |
ok 44 - uint16 $var-- works | |
ok 45 - int32 can be 2147483647 | |
ok 46 - int32 can be -2147483648 | |
ok 47 - int32 overflows to -2147483648 | |
ok 48 - int32 underflows to 2147483647 | |
1..2 | |
not ok 1 - code dies # TODO setting more than max throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 77 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 49 - setting int32 to more than 2147483647 throws # TODO setting more than max throws | |
# Failed test 'setting int32 to more than 2147483647 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 77 | |
1..2 | |
not ok 1 - code dies # TODO setting less than min throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 50 - setting int32 to less than -2147483648 throws # TODO setting less than min throws | |
# Failed test 'setting int32 to less than -2147483648 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 51 - int32 cannot be a string | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 52 - int32 cannot be non-integer | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 53 - int32 cannot be NaN | |
ok 54 - int32 $var++ works | |
ok 55 - int32 $var-- works | |
ok 56 - uint32 can be 4294967295 | |
ok 57 - uint32 can be 0 | |
ok 58 - uint32 overflows to 0 | |
ok 59 - uint32 underflows to 4294967295 | |
1..2 | |
not ok 1 - code dies # TODO setting more than max throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 77 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 60 - setting uint32 to more than 4294967295 throws # TODO setting more than max throws | |
# Failed test 'setting uint32 to more than 4294967295 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 77 | |
1..2 | |
not ok 1 - code dies # TODO setting less than min throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 61 - setting uint32 to less than 0 throws # TODO setting less than min throws | |
# Failed test 'setting uint32 to less than 0 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 62 - uint32 cannot be a string | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 63 - uint32 cannot be non-integer | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 64 - uint32 cannot be NaN | |
ok 65 - uint32 $var++ works | |
ok 66 - uint32 $var-- works | |
ok 67 - int64 can be 9223372036854775807 | |
ok 68 - int64 can be -9223372036854775808 | |
ok 69 - int64 overflows to -9223372036854775808 | |
ok 70 - int64 underflows to 9223372036854775807 | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
# Failed test 'uint32 in union is unsigned' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 119 | |
ok 71 - setting int64 to more than 9223372036854775807 throws | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 72 - setting int64 to less than -9223372036854775808 throws | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 73 - int64 cannot be a string | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 74 - int64 cannot be non-integer | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 75 - int64 cannot be NaN | |
ok 76 - int64 $var++ works | |
ok 77 - int64 $var-- works | |
not ok 78 - uint64 can be 18446744073709551615 # TODO getting -1 instead of 18446744073709551615 | |
# Failed test 'uint64 can be 18446744073709551615' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 27 | |
# expected: '18446744073709551615' | |
# got: '-1' | |
ok 79 - uint64 can be 0 | |
ok 80 - uint64 overflows to 0 | |
not ok 81 - uint64 underflows to 18446744073709551615 # TODO getting -1 instead of 0 | |
# Failed test 'uint64 underflows to 18446744073709551615' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 51 | |
# expected: '18446744073709551615' | |
# got: '-1' | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 82 - setting uint64 to more than 18446744073709551615 throws | |
1..2 | |
not ok 1 - code dies # TODO setting less than min throws | |
# Failed test 'code dies' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
ok 2 - # SKIP Code did not die, can not check exception | |
not ok 83 - setting uint64 to less than 0 throws # TODO setting less than min throws | |
# Failed test 'setting uint64 to less than 0 throws' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 92 | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 84 - uint64 cannot be a string | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 85 - uint64 cannot be non-integer | |
1..2 | |
ok 1 - code dies | |
ok 2 - right exception type (Exception) | |
ok 86 - uint64 cannot be NaN | |
ok 87 - uint64 $var++ works | |
ok 88 - uint64 $var-- works | |
not ok 89 - uint32 in union is unsigned | |
not ok 90 - uint16 in union is unsigned # TODO uint behaves like signed int in CUnion | |
# Failed test 'uint16 in union is unsigned' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 121 | |
# expected: '54919' | |
# got: '0' | |
not ok 91 - uint8 in union is unsigned # TODO uint behaves like signed int in CUnion | |
# Failed test 'uint8 in union is unsigned' | |
# at t/spec/S02-types/int-uint.rakudo.moar line 122 | |
# expected: '135' | |
# got: '0' | |
ok 92 - byte.Range works | |
# FUDGED! | |
# expected: '1234567' | |
# got: '1179648' | |
# Looks like you failed 1 test of 92 | |
Dubious, test returned 1 (wstat 256, 0x100) | |
Failed 1/92 subtests | |
Test Summary Report | |
------------------- | |
t/spec/S02-types/int-uint.rakudo.moar (Wstat: 256 Tests: 92 Failed: 1) | |
Failed test: 89 | |
Non-zero exit status: 1 | |
Files=1, Tests=92, 1 wallclock secs ( 0.03 usr 0.00 sys + 1.54 cusr 0.08 csys = 1.65 CPU) | |
Result: FAIL | |
cpan@perlbuild4~/CPANPRC/rakudo (nom)$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment