getMath() 공개 메소드

public getMath ( ) : ASTNode
리턴 ASTNode
예제 #1
0
 public void test_Trigger_copyConstructor()
 {
     Trigger o1 = new Trigger(2,4);
       ASTNode node = new ASTNode(libsbml.AST_CONSTANT_PI);
       o1.setMath(node);
       node = null;
       assertTrue( o1.getMath() != null );
       Trigger o2 = new Trigger(o1);
       assertTrue( o2.getMath() != null );
       assertTrue( o2.getParentSBMLObject() == o1.getParentSBMLObject() );
       o2 = null;
       o1 = null;
 }