[svn-r13431]
Bug fix: the macro used for percentage in the unsigned types needed a cast to signed (the difference can be negative) Unlike the 1.6 branch the unsigned long long conversion to float is supported by H5Tconvert , so the test commented for 1.6 is run (tools/testfiles/h5diff_16_2.txt)
This commit is contained in:
16
tools/testfiles/h5diff_16_2.txt
Normal file
16
tools/testfiles/h5diff_16_2.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
#############################
|
||||
Expected output for 'h5diff h5diff_basic1.h5 h5diff_basic1.h5 -v -p 0.02 g1/dset7 g1/dset8'
|
||||
#############################
|
||||
dataset: </g1/dset7> and </g1/dset8>
|
||||
size: [3x2] [3x2]
|
||||
position dset7 dset8 difference relative
|
||||
------------------------------------------------------------------------
|
||||
[ 0 0 ] 100 120 20 0.200000
|
||||
[ 0 1 ] 100 80 20 0.200000
|
||||
[ 1 0 ] 100 0 100 1.000000
|
||||
[ 1 1 ] 0 100 100 not comparable
|
||||
[ 2 1 ] 100 50 50 0.500000
|
||||
5 differences found
|
||||
--------------------------------
|
||||
Some objects are not comparable
|
||||
--------------------------------
|
||||
Reference in New Issue
Block a user