yuki-kimoto / Rstats

R language build on Perl
6 stars 1 forks source link

Fails on nvsize!=8 #4

Open andk opened 9 years ago

andk commented 9 years ago

As per subject. Sample fail report: http://www.cpantesters.org/cpan/report/61418379 Maybe you want to deploy Test::Number::Delta for the test, it provides a convenient interface.

HTH && Thanks, (Disclaimer: this was discovered by statistical analysis, I'm not speaking as a user)

eserte commented 6 years ago

A failure with uselongdouble perls still happens with the recent Rstats-0.0149 release:

#   Failed test at t/operator-math.t line 588.
#     Structures begin differing at:
#          $got->[2] = '0.399999999999999911'
#     $expected->[2] = '0.4'
In if (a) { : the condition has length > 1 and only the first element will be used at /home/cpansand/.cpan/build/2018040706/Rstats-0.0149-LXikMZ/blib/lib/Rstats/Object.pm line 99.
# Looks like you failed 1 test of 179.
t/operator-math.t ..... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/179 subtests