Beispiel #1
0
        public void H5Fget_vfd_handleTest2()
        {
            IntPtr hnd = new IntPtr();

            Assert.IsFalse(
                H5F.get_vfd_handle(Utilities.RandomInvalidHandle(),
                                   H5P.DEFAULT, ref hnd) >= 0);
        }
Beispiel #2
0
        public void H5Fget_vfd_handleTest1()
        {
            IntPtr hnd = IntPtr.Zero;

            Assert.IsTrue(
                H5F.get_vfd_handle(m_v0_class_file, H5P.DEFAULT, ref hnd) >= 0);
            Assert.IsTrue(hnd != IntPtr.Zero);
            Assert.IsTrue(
                H5F.get_vfd_handle(m_v2_class_file, H5P.DEFAULT, ref hnd) >= 0);
            Assert.IsTrue(hnd != IntPtr.Zero);
        }