Results for ysh-int-float.test.sh

statusoshosh_ALT
pass 1110
FAIL 01
total1111
caseoshosh_ALTdescription
0pass pass Float Literals with e-1
1pass pass Float Literal with _
2pass pass Period requires digit on either side, not 5. or .5
3pass pass Big float Literals with _
4pass pass Big floats like 1e309 and -1e309 go to Inf / -Inf
5pass pass Tiny floats go to zero
6pass FAIL floatEquals() INFINITY NAN
details
7pass pass pretty print INFINITY, -INFINITY, NAN
8pass pass can't convert NAN, INFINITY to integer
9pass pass Regression: 1/3 gives 0.3+
10pass pass Number of digits in 1/3
21 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_ALT6 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 41754: command.Simple failed with status 1