summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/testfiles/h5diff_103.txt
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2011-03-29 16:20:19 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2011-03-29 16:20:19 (GMT)
commitd467c2ce717d4633185b063b58eff262126749b7 (patch)
treecd6964394635ea907f212c496fd6ec71b5540a61 /tools/h5diff/testfiles/h5diff_103.txt
parentea694afb00e3971edbf913baea660dc315b9d8b7 (diff)
downloadhdf5-d467c2ce717d4633185b063b58eff262126749b7.zip
hdf5-d467c2ce717d4633185b063b58eff262126749b7.tar.gz
hdf5-d467c2ce717d4633185b063b58eff262126749b7.tar.bz2
[svn-r20369] Purpose:
Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for --use-system-epsilon option Description: Fixed h5diff for --use-system-epsilon option: the calculation changed from ( |a - b| / b ) to ( |a - b| ). This was decided for better performance and was corrected only in HDF5 trunk, so 1.8 got updated. Also comments for equal_XXX() function were updated correctly. Also help page and RM got updated correctly. Also add test cases for testing the differences w/wo the option. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
Diffstat (limited to 'tools/h5diff/testfiles/h5diff_103.txt')
-rw-r--r--tools/h5diff/testfiles/h5diff_103.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/h5diff/testfiles/h5diff_103.txt b/tools/h5diff/testfiles/h5diff_103.txt
new file mode 100644
index 0000000..5700459
--- /dev/null
+++ b/tools/h5diff/testfiles/h5diff_103.txt
@@ -0,0 +1,8 @@
+dataset: </g1/d1> and </g1/d2>
+size: [3x2] [3x2]
+position d1 d2 difference
+------------------------------------------------------------
+[ 0 1 ] 1e-16 4e-16 3e-16
+[ 2 0 ] 3.3e-16 1e-16 2.3e-16
+2 differences found
+EXIT CODE: 1