diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-04-24 22:24:47 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-04-24 22:24:47 (GMT) |
commit | 68887995c8059f311a5f23c3e6096b4747de1a4c (patch) | |
tree | fe85740d071de84ee30b7af49d265647a965861e /tools/testfiles/tall-4s.ddl | |
parent | bf5b897dc9e35c68f38cd6abadf36459dfe76970 (diff) | |
download | hdf5-68887995c8059f311a5f23c3e6096b4747de1a4c.zip hdf5-68887995c8059f311a5f23c3e6096b4747de1a4c.tar.gz hdf5-68887995c8059f311a5f23c3e6096b4747de1a4c.tar.bz2 |
[svn-r3853] Purpose:
Adding Tests
Description:
Added tests for the h5dump subsetting feature.
Platforms tested:
Linux
Diffstat (limited to 'tools/testfiles/tall-4s.ddl')
-rw-r--r-- | tools/testfiles/tall-4s.ddl | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tools/testfiles/tall-4s.ddl b/tools/testfiles/tall-4s.ddl new file mode 100644 index 0000000..89b0ebe --- /dev/null +++ b/tools/testfiles/tall-4s.ddl @@ -0,0 +1,34 @@ +############################# +Expected output for 'h5dump --dataset=/g1/g1.1/dset1.1.1 --start=1,1 --stride=2,3 --count=3,2 --block=1,1 tall.h5' +############################# +HDF5 "tall.h5" { +DATASET "/g1/g1.1/dset1.1.1" { + DATATYPE H5T_STD_I32BE + DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) } + SUBSET { + START ( 1, 1 ); + STRIDE ( 2, 3 ); + COUNT ( 3, 2 ); + BLOCK ( 1, 1 ); + DATA { + 1, 3, 5, 4, 12, 20 + } + } + ATTRIBUTE "attr1" { + DATATYPE H5T_STD_I8BE + DATASPACE SIMPLE { ( 27 ) / ( 27 ) } + DATA { + 49, 115, 116, 32, 97, 116, 116, 114, 105, 98, 117, 116, 101, 32, 111, + 102, 32, 100, 115, 101, 116, 49, 46, 49, 46, 49, 0 + } + } + ATTRIBUTE "attr2" { + DATATYPE H5T_STD_I8BE + DATASPACE SIMPLE { ( 27 ) / ( 27 ) } + DATA { + 50, 110, 100, 32, 97, 116, 116, 114, 105, 98, 117, 116, 101, 32, 111, + 102, 32, 100, 115, 101, 116, 49, 46, 49, 46, 49, 0 + } + } +} +} |