Results for ysh-expr-arith.test.sh

statusoshosh-cpp
pass 3030
total3030
caseoshosh-cppdescription
0pass pass Minus operator is left associative
1pass pass Division operators are left associative
2pass pass Exponentiation is right associative
3pass pass Binary operators, with conversions from string
4pass pass Floating Point Division with /
5pass pass Operations That Convert to Integer: // % **
6pass pass Division by zero
7pass pass Unary Operations
8pass pass Unary plus on integers and floats
9pass pass unary plus and minus combined
10pass pass unary minus on strings
11pass pass unary plus on strings
12pass pass unary ~ complement on strings
13pass pass unary ~ doesn't work on bool
14pass pass unary ~ doesn't work on float
15pass pass unary - applied to bool is not allowed
16pass pass Big float constants becomes inf and -inf, tiny become 0.0 and -0.0
17pass pass Int constants bigger than 64 bits
18pass pass Bit shift by negative number is not allowed
19pass pass 64-bit operations
20pass pass 64-bit integer doesn't overflow
21pass pass Integer literals
22pass pass Integer literals with underscores
23pass pass Exponentiation with **
24pass pass Float Division
25pass pass Integer Division (rounds toward zero)
26pass pass % operator is remainder
27pass pass Bitwise logical
28pass pass Shift operators
29pass pass multiline strings, list, tuple syntax for list, etc.
60 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped