diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-07-07 20:03:50 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-07-07 20:03:50 (GMT) |
commit | 63be23d70dd9bb3d79d670bb94e26c829a4abc2e (patch) | |
tree | 7b44c4b39c70f4268b17d43f8f1e69089117820c /test/th5s.c | |
parent | a67faf317232fc0cc5ea7c4074ae879e51c04636 (diff) | |
download | hdf5-63be23d70dd9bb3d79d670bb94e26c829a4abc2e.zip hdf5-63be23d70dd9bb3d79d670bb94e26c829a4abc2e.tar.gz hdf5-63be23d70dd9bb3d79d670bb94e26c829a4abc2e.tar.bz2 |
[svn-r459] Changed H5Sget_npoints call to H5Sextent_npoints and H5Sselect_npoints calls.
Diffstat (limited to 'test/th5s.c')
-rw-r--r-- | test/th5s.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/test/th5s.c b/test/th5s.c index 4102ea9..5ac9ff1 100644 --- a/test/th5s.c +++ b/test/th5s.c @@ -104,9 +104,9 @@ test_h5s_basic(void) sid1 = H5Screate_simple(SPACE1_RANK, dims1, NULL); CHECK(sid1, FAIL, "H5Screate_simple"); - n = H5Sget_npoints(sid1); - CHECK(n, UFAIL, "H5Sget_npoints"); - VERIFY(n, SPACE1_DIM1 * SPACE1_DIM2 * SPACE1_DIM3, "H5Sget_npoints"); + n = H5Sextent_npoints(sid1); + CHECK(n, UFAIL, "H5Sextent_npoints"); + VERIFY(n, SPACE1_DIM1 * SPACE1_DIM2 * SPACE1_DIM3, "H5Sextent_npoints"); rank = H5Sget_ndims(sid1); CHECK(rank, UFAIL, "H5Sget_lrank"); @@ -120,10 +120,10 @@ test_h5s_basic(void) sid2 = H5Screate_simple(SPACE2_RANK, dims2, max2); CHECK(sid2, FAIL, "H5Screate_simple"); - n = H5Sget_npoints(sid2); - CHECK(n, UFAIL, "H5Snelem"); + n = H5Sextent_npoints(sid2); + CHECK(n, UFAIL, "H5Sextent_npoints"); VERIFY(n, SPACE2_DIM1 * SPACE2_DIM2 * SPACE2_DIM3 * SPACE2_DIM4, - "H5Snelem"); + "H5Sextent_npoints"); rank = H5Sget_ndims(sid2); CHECK(rank, UFAIL, "H5Sget_lrank"); @@ -174,9 +174,9 @@ test_h5s_scalar_write(void) sid1 = H5Screate_simple(SPACE3_RANK, NULL, NULL); CHECK(sid1, FAIL, "H5Screate_simple"); - n = H5Sget_npoints(sid1); - CHECK(n, UFAIL, "H5Sget_npoints"); - VERIFY(n, 1, "H5Sget_npoints"); + n = H5Sextent_npoints(sid1); + CHECK(n, UFAIL, "H5Sextent_npoints"); + VERIFY(n, 1, "H5Sextent_npoints"); rank = H5Sget_ndims(sid1); CHECK(rank, UFAIL, "H5Sget_lrank"); @@ -236,9 +236,9 @@ test_h5s_scalar_read(void) sid1=H5Dget_space(dataset); CHECK(sid1, FAIL, "H5Dget_space"); - n = H5Sget_npoints(sid1); - CHECK(n, UFAIL, "H5Sget_npoints"); - VERIFY(n, 1, "H5Sget_npoints"); + n = H5Sextent_npoints(sid1); + CHECK(n, UFAIL, "H5Sextent_npoints"); + VERIFY(n, 1, "H5Sextent_npoints"); rank = H5Sget_ndims(sid1); CHECK(rank, UFAIL, "H5Sget_lrank"); @@ -313,9 +313,9 @@ test_h5s_compound_scalar_write(void) sid1 = H5Screate_simple(SPACE3_RANK, NULL, NULL); CHECK(sid1, FAIL, "H5Screate_simple"); - n = H5Sget_npoints(sid1); - CHECK(n, UFAIL, "H5Sget_npoints"); - VERIFY(n, 1, "H5Sget_npoints"); + n = H5Sextent_npoints(sid1); + CHECK(n, UFAIL, "H5Sextent_npoints"); + VERIFY(n, 1, "H5Sextent_npoints"); rank = H5Sget_ndims(sid1); CHECK(rank, UFAIL, "H5Sget_lrank"); @@ -377,9 +377,9 @@ test_h5s_compound_scalar_read(void) sid1=H5Dget_space(dataset); CHECK(sid1, FAIL, "H5Dget_space"); - n = H5Sget_npoints(sid1); - CHECK(n, UFAIL, "H5Sget_npoints"); - VERIFY(n, 1, "H5Sget_npoints"); + n = H5Sextent_npoints(sid1); + CHECK(n, UFAIL, "H5Sextent_npoints"); + VERIFY(n, 1, "H5Sextent_npoints"); rank = H5Sget_ndims(sid1); CHECK(rank, UFAIL, "H5Sget_lrank"); |