getDefinitionURL() public method

public getDefinitionURL ( ) : XMLAttributes
return XMLAttributes
示例#1
0
 public void test_element_ci_definitionURL()
 {
     string s = wrapMathML("<ci definitionURL=\"foobar\"> x </ci>");
       N = libsbml.readMathMLFromString(s);
       assertTrue( N != null );
       assertTrue( N.getType() == libsbml.AST_NAME );
       assertTrue((  "x" == N.getName() ));
       assertTrue( N.getNumChildren() == 0 );
       assertTrue( N.getDefinitionURL().getValue(0) ==  "foobar" );
 }