diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-07-23 19:03:01 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-07-23 19:03:01 (GMT) |
commit | 8e9136b83704e2f9adc03bfbea4a227b5eabbe16 (patch) | |
tree | 903b2fa72287ee0212efdff328aa4c2ef550d45b /test/tselect.c | |
parent | 3ca1c8b1313a8c9f7759299dc6071b2f51993f26 (diff) | |
download | hdf5-8e9136b83704e2f9adc03bfbea4a227b5eabbe16.zip hdf5-8e9136b83704e2f9adc03bfbea4a227b5eabbe16.tar.gz hdf5-8e9136b83704e2f9adc03bfbea4a227b5eabbe16.tar.bz2 |
[svn-r533] Added tests for H5Sextent_class (renamed H5Sget_class)
Diffstat (limited to 'test/tselect.c')
-rw-r--r-- | test/tselect.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/tselect.c b/test/tselect.c index 39ebaa2..d61dae8 100644 --- a/test/tselect.c +++ b/test/tselect.c @@ -80,6 +80,7 @@ test_select_hyper(void) *tbuf2; /* temporary buffer pointer */ intn i,j; /* Counters */ herr_t ret; /* Generic return value */ + H5S_class_t ext_type; /* Extent type */ /* Output message about test being performed */ MESSAGE(5, ("Testing Hyperslab Selection Functions\n")); @@ -105,6 +106,10 @@ test_select_hyper(void) sid2 = H5Screate_simple(SPACE2_RANK, dims2, NULL); CHECK(sid2, FAIL, "H5Screate_simple"); + /* Verify extent type */ + ext_type = H5Sextent_class(sid1); + VERIFY(ext_type, H5S_SIMPLE, "H5Sextent_class"); + /* Select 2x15x13 hyperslab for disk dataset */ start[0]=1; start[1]=0; start[2]=0; stride[0]=1; stride[1]=1; stride[2]=1; |