isLog10() public method

public isLog10 ( ) : bool
return bool
示例#1
0
 public void test_ASTNode_isLog10()
 {
     ASTNode n = new  ASTNode();
       ASTNode c;
       n.setType(libsbml.AST_FUNCTION);
       assertTrue( n.isLog10() == false );
       n.setType(libsbml.AST_FUNCTION_LOG);
       assertTrue( n.isLog10() == false );
       c = new  ASTNode();
       n.addChild(c);
       c.setValue(10);
       assertTrue( n.isLog10() == false );
       n.addChild(new  ASTNode());
       assertTrue( n.isLog10() == true );
       c.setValue(2);
       assertTrue( n.isLog10() == false );
       n = null;
 }