Subject: | Test failure with -Duselongdouble |
If perl is compiled with increased floating point accuracy (using the configuration option -Duselongdouble), then the test suite fails:
...
# Failed test 'Method 'compareExpMzToTheoMzList' works with peak list and Ab initio fragments content'
# at t/Fragment-Annotation.t line 145.
# Structures begin differing at:
# $got->{_EXP_PEAK_LIST_}[0]{_PPM_ERROR_} = '111.703012965368715'
# $expected->{_EXP_PEAK_LIST_}[0]{_PPM_ERROR_} = '111.703012965369'
[WARN] the method _getPeak_ANNOTATION_IN_NEG_MODE can't _getPeak a undef or null string value
# Failed test 'Method 'compareExpMzToTheoMzList' works with peak list file and Contaminant content'
# at t/Fragment-Annotation.t line 259.
# Structures begin differing at:
# $got->{_EXP_PEAK_LIST_}[0]{_PPM_ERROR_} = '0.0979864278998715888'
# $expected->{_EXP_PEAK_LIST_}[0]{_PPM_ERROR_} = '0.0979864278998716'
...