diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-11-27 20:10:53 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-11-27 20:10:53 (GMT) |
commit | 124ef64faf9e3feecdc0d3d28967a222859f915d (patch) | |
tree | d3f37c6d74bbe73ac471dfda3e22bfceb3f6edfe /tools/testfiles/h5diff_101.txt | |
parent | 957a5082d12873eb4238a962ce0193adeac5a1dc (diff) | |
download | hdf5-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_101.txt')
-rw-r--r-- | tools/testfiles/h5diff_101.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/testfiles/h5diff_101.txt b/tools/testfiles/h5diff_101.txt new file mode 100644 index 0000000..a35ffb6 --- /dev/null +++ b/tools/testfiles/h5diff_101.txt @@ -0,0 +1,11 @@ +############################# +Expected output for 'h5diff h5diff_basic1.h5 h5diff_basic1.h5 /g1/d1 g1/d2 -v' +############################# +Dataset: </g1/d1> and </g1/d2> +position d1 d2 difference +------------------------------------------------------------ +[ 0 1 ] 1e-09 2e-09 1e-09 +[ 1 0 ] 1e-09 9e-10 1e-10 +[ 1 1 ] 0 1e-09 1e-09 +[ 2 0 ] 1e-09 0 1e-09 +4 differences found |