spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 12 | 10 | |
FAIL | 0 | 2 | |
total | 12 | 12 | |
case | osh | osh-cpp | description |
0 | pass | pass | bool() conversion |
1 | pass | pass | bool() more |
2 | pass | pass | int() conversion |
3 | pass | pass | int() more |
4 | pass | FAIL | float() conversion |
details | |||
5 | pass | FAIL | float() overflow / underflow |
details | |||
6 | pass | pass | str() conversion |
7 | pass | pass | dict() converts from BashAssoc to Dict |
8 | pass | pass | dict() does shallow copy |
9 | pass | pass | list() does shallow copy |
10 | pass | pass | list() from Dict |
11 | pass | pass | list() from range |
22 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh-cpp | 4 float() conversion [osh-cpp stdout] Expected '1234.0\n1.234\n2.345\n', got '1234.0\n1.234\n2.3450000000000002\n' stdout: 1234.0 1.234 2.3450000000000002stderr: |
osh-cpp | 5 float() overflow / underflow [osh-cpp stdout] Expected '1.2\n3.4\ninf\n-inf\n', got '1.2\n3.3999999999999999\ninf\n-inf\n' stdout: 1.2 3.3999999999999999 inf -infstderr: |