spec test index / oilshell.org
status | osh | osh_ALT | |
pass | 11 | 10 | |
FAIL | 0 | 1 | |
total | 11 | 11 | |
case | osh | osh_ALT | description |
0 | pass | pass | Float Literals with e-1 |
1 | pass | pass | Float Literal with _ |
2 | pass | pass | Period requires digit on either side, not 5. or .5 |
3 | pass | pass | Big float Literals with _ |
4 | pass | pass | Big floats like 1e309 and -1e309 go to Inf / -Inf |
5 | pass | pass | Tiny floats go to zero |
6 | pass | FAIL | floatEquals() INFINITY NAN |
details | |||
7 | pass | pass | pretty print INFINITY, -INFINITY, NAN |
8 | pass | pass | can't convert NAN, INFINITY to integer |
9 | pass | pass | Regression: 1/3 gives 0.3+ |
10 | pass | pass | Number of digits in 1/3 |
21 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh_ALT | 6 floatEquals() INFINITY NAN [osh_ALT stdout] Expected 'inf\nneg_inf\nnan is not nan\n', got '' [osh_ALT status] Expected 0, got 1 stdout: stderr: source $LIB_YSH/list.ysh ^~~~~~~~ [ stdin ]:2: 'source' failed: No builtin file 'stdlib/ysh/list.ysh' source $LIB_YSH/list.ysh ^~~~~~ [ stdin ]:2: errexit PID 41854: command.Simple failed with status 1 |