mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
96a0892ba8
Solution: for compound types, recursively apply that check Two new cases are added 1) the compound type has a different number of members. Message printed is <obj1> has X members <obj2> has Y members Where X and Y are the number of members of each compound type being compared 2) the compound type has not comparable types (for example a double and an int at the same index) In this case the message Comparison not possible: object1 is of class1 and object2 is of class2 Is replaced with Comparison not possible: object1 has a class1 and object2 has a class2 Modified the test generator program to have these 2 cases Added a shell run for these 2 cases Tested: windows, h5committest
50 lines
1.6 KiB
Plaintext
50 lines
1.6 KiB
Plaintext
|
|
file1 file2
|
|
---------------------------------------
|
|
x x /
|
|
x x /g1
|
|
x /g1/d1
|
|
x /g1/d2
|
|
x x /g1/dset1
|
|
x /g1/dset10
|
|
x /g1/dset2
|
|
x /g1/dset3
|
|
x /g1/dset4
|
|
x /g1/dset5
|
|
x /g1/dset6
|
|
x /g1/dset7
|
|
x /g1/dset8
|
|
x /g1/dset9
|
|
x /g1/fp1
|
|
x /g1/fp15
|
|
x /g1/fp16
|
|
x /g1/fp17
|
|
x /g1/fp18
|
|
x /g1/fp2
|
|
x /g1/ld
|
|
x /g2
|
|
x /g2/dset1
|
|
x /g2/dset2
|
|
x /g2/dset3
|
|
x /g2/dset4
|
|
x /g2/dset5
|
|
x /g2/dset6
|
|
x /g2/dset7
|
|
x /g2/dset8
|
|
x /g2/dset9
|
|
|
|
group : </> and </>
|
|
0 differences found
|
|
group : </g1> and </g1>
|
|
0 differences found
|
|
dataset: </g1/dset1> and </g1/dset1>
|
|
size: [3x2] [3x2]
|
|
position dset1 dset1 difference
|
|
------------------------------------------------------------
|
|
[ 0 0 ] 1 0 1
|
|
[ 0 1 ] 1 1.1 0.1
|
|
[ 1 0 ] 1 1.01 0.01
|
|
[ 1 1 ] 1 1.001 0.001
|
|
[ 2 1 ] 0 1 1
|
|
5 differences found
|