public void H5Pset_virtual_prefixTest1() { hid_t dapl = H5P.create(H5P.DATASET_ACCESS); Assert.IsTrue(dapl >= 0); string prefix = "foo"; Assert.IsTrue(H5P.set_virtual_prefix(dapl, prefix) >= 0); StringBuilder sb = new StringBuilder(4); IntPtr size = new IntPtr(4); Assert.IsTrue(H5P.get_virtual_prefix(dapl, sb, size).ToInt32() == 3); Assert.IsTrue(H5P.close(dapl) >= 0); }