unsetEnd() public method

public unsetEnd ( ) : int
return int
コード例 #1
0
 public void test_XMLToken_newSetters_setEnd()
 {
     XMLToken token = new  XMLToken();
       assertTrue( token.isEnd() == false );
       int i = token.setEnd();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( token.isEnd() == true );
       i = token.unsetEnd();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( token.isEnd() == false );
       token = null;
 }