public void test_Compartment_setOutside1() { int i = C.setOutside("1cell"); assertTrue(i == libsbml.LIBSBML_INVALID_ATTRIBUTE_VALUE); assertEquals(false, C.isSetOutside()); i = C.unsetOutside(); assertTrue(i == libsbml.LIBSBML_OPERATION_SUCCESS); assertEquals(false, C.isSetOutside()); }
public void test_Compartment_setOutside() { string outside = "cell"; C.setOutside(outside); assertTrue((outside == C.getOutside())); assertEquals(true, C.isSetOutside()); if (C.getOutside() == outside) { ; } { } C.setOutside(C.getOutside()); assertTrue((outside == C.getOutside())); C.setOutside(""); assertEquals(false, C.isSetOutside()); if (C.getOutside() != null) { ; } { } }
public void test_Compartment_copyConstructor() { Compartment o1 = new Compartment(2, 4); o1.setId("c"); o1.setOutside("c2"); assertTrue(o1.getId() == "c"); assertTrue(o1.getOutside() == "c2"); Compartment o2 = new Compartment(o1); assertTrue(o2.getId() == "c"); assertTrue(o2.getOutside() == "c2"); assertTrue(o2.getParentSBMLObject() == o1.getParentSBMLObject()); o2 = null; o1 = null; }
public void test_Compartment_assignmentOperator() { Compartment o1 = new Compartment(2, 4); o1.setId("c"); o1.setOutside("c2"); assertTrue(o1.getId() == "c"); assertTrue(o1.getOutside() == "c2"); Compartment o2 = new Compartment(2, 4); o2 = o1; assertTrue(o2.getId() == "c"); assertTrue(o2.getOutside() == "c2"); assertTrue(o2.getParentSBMLObject() == o1.getParentSBMLObject()); o2 = null; o1 = null; }