Esempio n. 1
0
        public void H5Fget_intentTest1()
        {
            uint intent = 4711;

            Assert.IsTrue(H5F.get_intent(m_v0_class_file, ref intent) >= 0);
            Assert.IsTrue(H5F.get_intent(m_v2_class_file, ref intent) >= 0);
        }
Esempio n. 2
0
        public void H5Fget_intentTest2()
        {
            uint intent = 4711;

            Assert.IsFalse(
                H5F.get_intent(Utilities.RandomInvalidHandle(),
                               ref intent) >= 0);
        }
Esempio n. 3
0
        public void H5Fstart_swmr_writeTestSWMR2()
        {
            Assert.IsTrue(H5F.start_swmr_write(m_v3_test_file_no_swmr) >= 0);
            uint intent = 0;

            Assert.IsTrue(
                H5F.get_intent(m_v3_test_file_no_swmr, ref intent) >= 0);
            Assert.IsTrue((intent & H5F.ACC_SWMR_WRITE) > 0);
        }
Esempio n. 4
0
        public void H5Fget_intentTestSWMR1()
        {
            uint intent = 0;

            Assert.IsTrue(H5F.get_intent(m_v3_class_file, ref intent) >= 0);
            Assert.IsTrue((intent & H5F.ACC_SWMR_WRITE) > 0);

            Assert.IsTrue(
                H5F.get_intent(m_v3_test_file_no_swmr, ref intent) >= 0);
            Assert.IsTrue((intent & H5F.ACC_SWMR_WRITE) == 0);
        }