mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
469f6d30b1
h5diff: print a message of "not comparable" in a case where the relative error compare is not possible, due to the denominator being zero. Modified the test file generator program to include a example for this and a new test on the shell script
12 lines
600 B
Plaintext
12 lines
600 B
Plaintext
#############################
|
|
Expected output for 'h5diff h5diff_basic1.h5 h5diff_basic2.h5 -r -d 5 g1/dset3 g1/dset4'
|
|
#############################
|
|
Dataset: </g1/dset3> and </g1/dset4>
|
|
position dset3 dset4 difference
|
|
------------------------------------------------------------
|
|
[ 0 1 ] 100.000000 120.000000 20.000000
|
|
[ 1 0 ] 100.000000 160.000000 60.000000
|
|
[ 2 0 ] 100.000000 80.000000 20.000000
|
|
[ 2 1 ] 100.000000 40.000000 60.000000
|
|
4 differences found
|