public void H5Acreate_by_nameTest1() { hid_t att = H5A.create_by_name(m_v0_class_file, ".", "BNA", H5T.IEEE_F32BE, m_space_null); Assert.IsTrue(att >= 0); Assert.IsTrue(H5A.close(att) >= 0); att = H5A.create_by_name(m_v2_class_file, ".", "BNA", H5T.IEEE_F32BE, m_space_null); Assert.IsTrue(att >= 0); Assert.IsTrue(H5A.close(att) >= 0); att = H5A.create_by_name(m_v0_class_file, ".", "BSA", H5T.IEEE_F32BE, m_space_scalar); Assert.IsTrue(att >= 0); Assert.IsTrue(H5A.close(att) >= 0); att = H5A.create_by_name(m_v2_class_file, ".", "BSA", H5T.IEEE_F32BE, m_space_scalar); Assert.IsTrue(att >= 0); Assert.IsTrue(H5A.close(att) >= 0); }