unsetTimeUnits() public method

public unsetTimeUnits ( ) : int
return int
コード例 #1
0
 public void test_KineticLaw_setTimeUnits3()
 {
     KineticLaw kl1 = new  KineticLaw(1,2);
       int i = kl1.setTimeUnits( "1second");
       assertTrue( i == libsbml.LIBSBML_INVALID_ATTRIBUTE_VALUE );
       assertEquals( false, kl1.isSetTimeUnits() );
       i = kl1.unsetTimeUnits();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( false, kl1.isSetTimeUnits() );
       kl1 = null;
 }