diff options
Diffstat (limited to 'tools/testfiles')
-rw-r--r-- | tools/testfiles/tempty.ddl | 65 | ||||
-rw-r--r-- | tools/testfiles/tempty.h5 | bin | 0 -> 4304 bytes | |||
-rw-r--r-- | tools/testfiles/tempty.ls | 18 |
3 files changed, 83 insertions, 0 deletions
diff --git a/tools/testfiles/tempty.ddl b/tools/testfiles/tempty.ddl new file mode 100644 index 0000000..7751725 --- /dev/null +++ b/tools/testfiles/tempty.ddl @@ -0,0 +1,65 @@ +############################# +Expected output for 'h5dump tempty.h5' +############################# +HDF5 "tempty.h5" { +GROUP "/" { + DATASET "Dataset1.0" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + (), (), (), () + } + } + DATASET "Dataset2.0" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + 0, 0, 0, 0 + } + } + DATASET "Dataset3.0" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + 0, 0, 0, 0 + } + } + DATASET "Dataset4.0" { + DATATYPE H5T_ARRAY { [4] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ] + } + } + DATASET "Dataset5.0" { + DATATYPE H5T_COMPOUND { + H5T_STD_I32LE "a"; + H5T_IEEE_F32LE "b"; + H5T_STD_I8LE "c"; + } + DATASPACE SIMPLE { ( 4 ) / ( 4 ) } + DATA { + { + 0, + 0, + 0 + }, + { + 0, + 0, + 0 + }, + { + 0, + 0, + 0 + }, + { + 0, + 0, + 0 + } + } + } +} +} diff --git a/tools/testfiles/tempty.h5 b/tools/testfiles/tempty.h5 Binary files differnew file mode 100644 index 0000000..ad4c2c4 --- /dev/null +++ b/tools/testfiles/tempty.h5 diff --git a/tools/testfiles/tempty.ls b/tools/testfiles/tempty.ls new file mode 100644 index 0000000..96ea64a --- /dev/null +++ b/tools/testfiles/tempty.ls @@ -0,0 +1,18 @@ +############################# + output for 'h5ls -w80 -d tempty.h5' +############################# +Dataset1.0 Dataset {4} + Data: + (0) (), (), (), () +Dataset2.0 Dataset {4} + Data: + (0) 0, 0, 0, 0 +Dataset3.0 Dataset {4} + Data: + (0) 0, 0, 0, 0 +Dataset4.0 Dataset {4} + Data: + (0) [0,0,0,0], [0,0,0,0], [0,0,0,0], [0,0,0,0] +Dataset5.0 Dataset {4} + Data: + (0) {0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0} |