[svn-r12984]

Added a relative error formula to deal with floating point uncertainty
in the comparison of floats and double types. 
Added new tests for this feature to the file generator program and to
the shell script
This commit is contained in:
Pedro Vicente Nunes
2006-11-27 15:10:53 -05:00
parent 957a5082d1
commit 124ef64faf
26 changed files with 331 additions and 248 deletions

View File

@@ -19,8 +19,9 @@
# Added the SKIP feature.
# Albert Cheng, 2005/2/3
# Added -p option for parallel h5diff tests.
# Pedro Vicente Nunes, 10/25/2005
# Added test #9
# Pedro Vicente Nunes:
# 10/25/2005: Added test #9
# 11/27/2006: Added test #10, #11
###############################################################################
@@ -503,6 +504,11 @@ TOOLTEST h5diff_90.txt $FILE1 $FILE1
TOOLTEST h5diff_100.txt $FILE9 $FILE10 -v
# 11. floating point comparison
TOOLTEST h5diff_101.txt $FILE1 $FILE1 /g1/d1 g1/d2 -v
TOOLTEST h5diff_102.txt $FILE1 $FILE1 /g1/fp1 g1/fp2 -v
# ##############################################################################
# # END
# ##############################################################################