summaryrefslogtreecommitdiffstats
path: root/src/H5Dtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Dtest.c')
-rw-r--r--src/H5Dtest.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Dtest.c b/src/H5Dtest.c
index 1d9d2ca..d6e57c1 100644
--- a/src/H5Dtest.c
+++ b/src/H5Dtest.c
@@ -122,7 +122,7 @@ H5D__layout_contig_size_test(hid_t did, hsize_t *size)
HGOTO_ERROR(H5E_DATASET, H5E_BADTYPE, FAIL, "not a dataset")
if (size) {
- HDassert(dset->shared->layout.type == H5D_CONTIGUOUS);
+ assert(dset->shared->layout.type == H5D_CONTIGUOUS);
*size = dset->shared->layout.storage.u.contig.size;
} /* end if */
@@ -162,7 +162,7 @@ H5D__layout_compact_dirty_test(hid_t did, hbool_t *dirty)
HGOTO_ERROR(H5E_DATASET, H5E_BADTYPE, FAIL, "not a dataset")
if (dirty) {
- HDassert(dset->shared->layout.type == H5D_COMPACT);
+ assert(dset->shared->layout.type == H5D_COMPACT);
*dirty = dset->shared->layout.storage.u.compact.dirty;
} /* end if */
@@ -197,7 +197,7 @@ H5D__layout_type_test(hid_t did, H5D_layout_t *layout_type)
FUNC_ENTER_PACKAGE
- HDassert(layout_type);
+ assert(layout_type);
/* Check args */
if (NULL == (dset = (H5D_t *)H5VL_object_verify(did, H5I_DATASET)))
@@ -282,12 +282,12 @@ H5D__current_cache_size_test(hid_t did, size_t *nbytes_used, int *nused)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a dataset")
if (nbytes_used) {
- HDassert(dset->shared->layout.type == H5D_CHUNKED);
+ assert(dset->shared->layout.type == H5D_CHUNKED);
*nbytes_used = dset->shared->cache.chunk.nbytes_used;
} /* end if */
if (nused) {
- HDassert(dset->shared->layout.type == H5D_CHUNKED);
+ assert(dset->shared->layout.type == H5D_CHUNKED);
*nused = dset->shared->cache.chunk.nused;
} /* end if */