Fails on nvsize!=8 due to string comparison on floating point number
Opened this issue · 0 comments
andk commented
Sample fail report: http://www.cpantesters.org/cpan/report/34703717
There are many fails of the pattern
# got: '0.333333333333333333'
# expected: '0.333333333333333'
Since perl can be compiled with floats of different sizes, such comparisons need to be guarded by some epsilon.
I would suggest to deploy Test::Number::Delta for the tests, it provides a convenient interface.
HTH && Thanks