libsbmlcs.Delay.getMath C# (CSharp) Method

getMath() public method

public getMath ( ) : ASTNode
return ASTNode
        public ASTNode getMath()
        {
            IntPtr cPtr = libsbmlPINVOKE.Delay_getMath(swigCPtr);
            ASTNode ret = (cPtr == IntPtr.Zero) ? null : new ASTNode(cPtr, false);
            return ret;
        }

Usage Example

Exemplo n.º 1
0
 public void test_Delay_copyConstructor()
 {
     Delay o1 = new Delay(2,4);
       ASTNode node = new ASTNode(libsbml.AST_CONSTANT_PI);
       o1.setMath(node);
       node = null;
       assertTrue( o1.getMath() != null );
       Delay o2 = new Delay(o1);
       assertTrue( o2.getMath() != null );
       assertTrue( o2.getParentSBMLObject() == o1.getParentSBMLObject() );
       o2 = null;
       o1 = null;
 }