summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/h5diff_102.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_102.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_102.txt')
-rw-r--r--tools/testfiles/h5diff_102.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/testfiles/h5diff_102.txt b/tools/testfiles/h5diff_102.txt
new file mode 100644
index 0000000..da3ead2
--- /dev/null
+++ b/tools/testfiles/h5diff_102.txt
@@ -0,0 +1,11 @@
+#############################
+Expected output for 'h5diff h5diff_basic1.h5 h5diff_basic1.h5 /g1/fp1 g1/fp2 -v'
+#############################
+Dataset: </g1/fp1> and </g1/fp2>
+position fp1 fp2 difference
+------------------------------------------------------------
+[ 0 1 ] 1e-05 2e-05 1e-05
+[ 1 0 ] 1e-05 9e-06 9.99999e-07
+[ 1 1 ] 0 1e-05 1e-05
+[ 2 0 ] 1e-05 0 1e-05
+4 differences found