summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/h5diff_13.txt
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-11-27 20:10:53 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-11-27 20:10:53 (GMT)
commit124ef64faf9e3feecdc0d3d28967a222859f915d (patch)
treed3f37c6d74bbe73ac471dfda3e22bfceb3f6edfe /tools/testfiles/h5diff_13.txt
parent957a5082d12873eb4238a962ce0193adeac5a1dc (diff)
downloadhdf5-124ef64faf9e3feecdc0d3d28967a222859f915d.zip
hdf5-124ef64faf9e3feecdc0d3d28967a222859f915d.tar.gz
hdf5-124ef64faf9e3feecdc0d3d28967a222859f915d.tar.bz2
[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
Diffstat (limited to 'tools/testfiles/h5diff_13.txt')
-rw-r--r--tools/testfiles/h5diff_13.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/testfiles/h5diff_13.txt b/tools/testfiles/h5diff_13.txt
index 2c269e7..897222c 100644
--- a/tools/testfiles/h5diff_13.txt
+++ b/tools/testfiles/h5diff_13.txt
@@ -4,8 +4,9 @@ Expected output for 'h5diff h5diff_basic1.h5 h5diff_basic2.h5 -r'
Dataset: </g1/dset1> and </g1/dset1>
position dset1 dset1 difference
------------------------------------------------------------
-[ 0 1 ] 1.000000 1.100000 0.100000
-[ 1 0 ] 1.000000 1.010000 0.010000
-[ 1 1 ] 1.000000 1.001000 0.001000
-[ 2 0 ] 1.000000 1.000100 0.000100
-4 differences found
+[ 0 0 ] 1 0 1
+[ 0 1 ] 1 1.1 0.1
+[ 1 0 ] 1 1.01 0.01
+[ 1 1 ] 1 1.001 0.001
+[ 2 1 ] 0 1 1
+5 differences found