public int setMath(ASTNode math) { int ret = libsbmlPINVOKE.Constraint_setMath(swigCPtr, ASTNode.getCPtr(math)); return ret; }
public void test_Constraint() { Constraint c = new Constraint(2,4); assertEquals( false, (c.hasRequiredElements()) ); c.setMath(libsbml.parseFormula("a+b")); assertEquals( true, c.hasRequiredElements() ); c = null; }