public void test_L3Trigger_setInitialValue() { int i = T.setInitialValue(false); assertTrue(i == libsbml.LIBSBML_OPERATION_SUCCESS); assertTrue(T.getInitialValue() == false); assertTrue(T.isSetInitialValue() == true); i = T.setInitialValue(true); assertTrue(i == libsbml.LIBSBML_OPERATION_SUCCESS); assertTrue(T.getInitialValue() == true); assertTrue(T.isSetInitialValue() == true); }
public void test_L3Trigger_setInitialValue1() { Trigger t = new Trigger(2, 4); int i = t.setInitialValue(false); assertTrue(i == libsbml.LIBSBML_UNEXPECTED_ATTRIBUTE); assertTrue(T.getInitialValue() == true); assertTrue(T.isSetInitialValue() == false); t = null; }
public void test_L3Trigger_create() { assertTrue(T.getTypeCode() == libsbml.SBML_TRIGGER); assertTrue(T.getMetaId().equals("") == true); assertTrue(T.getNotes() == null); assertTrue(T.getAnnotation() == null); assertTrue(T.getMath() == null); assertTrue(T.getInitialValue() == true); assertTrue(T.getPersistent() == true); assertTrue(T.isSetInitialValue() == false); assertTrue(T.isSetPersistent() == false); }