public void test_CompartmentType_setId2()
        {
            int i = C.setId("1cell");

            assertTrue(i == libsbml.LIBSBML_INVALID_ATTRIBUTE_VALUE);
            assertEquals(false, C.isSetId());
        }
Esempio n. 2
0
 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());
 }