public void test_CompartmentType_setName1() { int i = C.setName("cell"); assertTrue(i == libsbml.LIBSBML_OPERATION_SUCCESS); assertEquals(true, C.isSetName()); i = C.unsetName(); assertTrue(i == libsbml.LIBSBML_OPERATION_SUCCESS); assertEquals(false, C.isSetName()); }
public void test_CompartmentType_create() { assertTrue(CT.getTypeCode() == libsbml.SBML_COMPARTMENT_TYPE); assertTrue(CT.getMetaId() == ""); assertTrue(CT.getNotes() == null); assertTrue(CT.getAnnotation() == null); assertTrue(CT.getId() == ""); assertTrue(CT.getName() == ""); assertEquals(false, CT.isSetId()); assertEquals(false, CT.isSetName()); }