d2_space1 = H5Screate_simple(2, d2_dims1, NULL); CHECK(d2_space1, FAIL, "H5Screate"); d2_space2 = H5Screate_simple(2, d2_dims2, NULL); CHECK(d2_space2, FAIL, "H5Screate"); d2_space3 = H5Screate_simple(2, d2_dims1, d2_dims2); CHECK(d2_space3, FAIL, "H5Screate"); d2_space4 = H5Screate_simple(2, d2_dims1, d2_dims3); CHECK(d2_space4, FAIL, "H5Screate"); d3_space1 = H5Screate_simple(3, d3_dims1, NULL); CHECK(d3_space1, FAIL, "H5Screate"); d3_space2 = H5Screate_simple(3, d3_dims2, NULL); CHECK(d3_space2, FAIL, "H5Screate"); d3_space3 = H5Screate_simple(3, d3_dims1, d3_dims2); CHECK(d3_space3, FAIL, "H5Screate"); d3_space4 = H5Screate_simple(3, d3_dims1, d3_dims3); CHECK(d3_space4, FAIL, "H5Screate"); /* Compare all dataspace combinations */ /* Compare null dataspace against all others, including itself */ ext_equal = H5Sextent_equal(null_space, null_space); VERIFY(ext_equal, TRUE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, scalar_space); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, d1_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, d1_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, d1_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, d1_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, d2_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, d2_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, d2_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, d2_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, d3_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, d3_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, d3_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(null_space, d3_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); /* Compare scalar dataspace against all others, including itself */ ext_equal = H5Sextent_equal(scalar_space, null_space); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, scalar_space); VERIFY(ext_equal, TRUE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, d1_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, d1_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, d1_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, d1_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, d2_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, d2_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, d2_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, d2_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, d3_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, d3_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, d3_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(scalar_space, d3_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); /* Compare small 1-D dataspace w/no max. dims against all others, including itself */ ext_equal = H5Sextent_equal(d1_space1, null_space); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, scalar_space); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, d1_space1); VERIFY(ext_equal, TRUE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, d1_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, d1_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, d1_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, d2_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, d2_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, d2_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, d2_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, d3_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, d3_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, d3_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space1, d3_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); /* Compare larger 1-D dataspace w/no max. dims against all others, including itself */ ext_equal = H5Sextent_equal(d1_space2, null_space); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, scalar_space); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, d1_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, d1_space2); VERIFY(ext_equal, TRUE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, d1_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, d1_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, d2_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, d2_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, d2_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, d2_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, d3_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, d3_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, d3_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space2, d3_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); /* Compare small 1-D dataspace w/fixed max. dims against all others, including itself */ ext_equal = H5Sextent_equal(d1_space3, null_space); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, scalar_space); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, d1_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, d1_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, d1_space3); VERIFY(ext_equal, TRUE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, d1_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, d2_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, d2_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, d2_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, d2_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, d3_space1); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, d3_space2); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, d3_space3); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space3, d3_space4); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); /* Compare small 1-D dataspace w/unlimited max. dims against all others, including itself */ ext_equal = H5Sextent_equal(d1_space4, null_space); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal = H5Sextent_equal(d1_space4, scalar_space); VERIFY(ext_equal, FALSE, "H5Sextent_equal"); ext_equal