summaryrefslogtreecommitdiffstats
path: root/test/th5s.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-07-31 18:58:46 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-07-31 18:58:46 (GMT)
commitbfe04875838d8c3baea58c3fbfb16d9ee88d3beb (patch)
treef21d4753e48dad48367633f5a55a23e72cd9dbf6 /test/th5s.c
parentf977c4dfd0e5eb6f6e8527bdc9e48edebe500d78 (diff)
downloadhdf5-bfe04875838d8c3baea58c3fbfb16d9ee88d3beb.zip
hdf5-bfe04875838d8c3baea58c3fbfb16d9ee88d3beb.tar.gz
hdf5-bfe04875838d8c3baea58c3fbfb16d9ee88d3beb.tar.bz2
Normalization and warning fixes from develop
Diffstat (limited to 'test/th5s.c')
-rw-r--r--test/th5s.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/th5s.c b/test/th5s.c
index 2afe473..9f9f99d 100644
--- a/test/th5s.c
+++ b/test/th5s.c
@@ -1284,6 +1284,7 @@ test_h5s_encode(void)
CHECK(null_sbuf, NULL, "HDcalloc");
}
+ /* Encode the null dataspace in the buffer */
ret = H5Sencode(sid2, null_sbuf, &null_size);
CHECK(ret, FAIL, "H5Sencode");
@@ -1319,6 +1320,7 @@ test_h5s_encode(void)
CHECK(scalar_buf, NULL, "HDcalloc");
}
+ /* Encode the scalar dataspace in the buffer */
ret = H5Sencode(sid3, scalar_buf, &scalar_size);
CHECK(ret, FAIL, "H5Sencode");
@@ -2836,6 +2838,7 @@ test_h5s(void)
test_h5s_basic(); /* Test basic H5S code */
test_h5s_null(); /* Test Null dataspace H5S code */
test_h5s_zero_dim(); /* Test dataspace with zero dimension size */
+
test_h5s_encode(); /* Test encoding and decoding */
test_h5s_encode_regular_exceed32(); /* Test encoding regular hyperslab selection that exceeds 32 bits */
test_h5s_encode_irregular_exceed32(); /* Testing encoding irregular hyperslab selection that exceeds 32 bits */