public void test_EventAssignment_setVariable1() { string id = "1e1"; int i = E.setVariable(id); assertTrue(i == libsbml.LIBSBML_INVALID_ATTRIBUTE_VALUE); assertEquals(false, E.isSetVariable()); }
public void test_EventAssignment_setVariable() { string variable = "k2"; EA.setVariable(variable); assertTrue((variable == EA.getVariable())); assertEquals(true, EA.isSetVariable()); if (EA.getVariable() == variable) { ; } { } EA.setVariable(EA.getVariable()); assertTrue((variable == EA.getVariable())); EA.setVariable(""); assertEquals(false, EA.isSetVariable()); if (EA.getVariable() != null) { ; } { } }