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_setName() { string name = "My_Favorite_Factory"; CT.setName(name); assertTrue((name == CT.getName())); assertEquals(true, CT.isSetName()); if (CT.getName() == name) { ; } { } CT.setName(CT.getName()); assertTrue((name == CT.getName())); CT.setName(""); assertEquals(false, CT.isSetName()); if (CT.getName() != null) { ; } { } }