public void H5Pget_chunk_optsTestSWMR1() { hid_t dcpl = H5P.create(H5P.DATASET_CREATE); Assert.IsTrue(dcpl >= 0); // without chunking, H5Pset_chunk_opts will throw an error hsize_t[] dims = { 4711 }; Assert.IsTrue(H5P.set_chunk(dcpl, 1, dims) >= 0); uint opts = H5D.DONT_FILTER_PARTIAL_CHUNKS; Assert.IsTrue(H5P.set_chunk_opts(dcpl, opts) >= 0); opts = 4711; Assert.IsTrue(H5P.get_chunk_opts(dcpl, ref opts) >= 0); Assert.IsTrue(opts == H5D.DONT_FILTER_PARTIAL_CHUNKS); Assert.IsTrue(H5P.close(dcpl) >= 0); }