Exemple #1
0
        public void H5Sextent_copyTest1()
        {
            hsize_t[] dims  = { 1, 2, 3 };
            hid_t     space = H5S.create_simple(dims.Length, dims, dims);

            Assert.IsTrue(space > 0);
            hid_t space1 = H5S.create(H5S.class_t.NULL);

            Assert.IsTrue(space1 > 0);
            Assert.IsTrue(H5S.extent_copy(space1, space) >= 0);
            Assert.IsTrue(H5S.is_simple(space1) > 0);
            Assert.IsTrue(H5S.close(space1) >= 0);
            Assert.IsTrue(H5S.close(space) >= 0);
        }
Exemple #2
0
 public void H5Sextent_copyTest2()
 {
     Assert.IsFalse(H5S.extent_copy(Utilities.RandomInvalidHandle(),
                                    Utilities.RandomInvalidHandle()) >= 0);
 }