Example #1
0
        public void H5PLappendTest1()
        {
            Assert.IsTrue(H5PL.append("foo") >= 0);
            uint32_t listsize = 0;

            Assert.IsTrue(H5PL.size(ref listsize) >= 0);
            Assert.IsTrue(listsize >= 1);
        }
Example #2
0
        public void H5PLgetTest1()
        {
            Assert.IsTrue(H5PL.append("foo") >= 0);
            uint32_t listsize = 0;

            Assert.IsTrue(H5PL.size(ref listsize) >= 0);
            Assert.IsTrue(listsize >= 0);
            StringBuilder sb   = new StringBuilder();
            IntPtr        size = new IntPtr(4);

            Assert.IsFalse(H5PL.get(0, sb, size) == IntPtr.Zero);
        }