unsetSubstanceUnits() 공개 메소드

public unsetSubstanceUnits ( ) : int
리턴 int
 public void test_KineticLaw_setSubstanceUnits3()
 {
     KineticLaw kl1 = new  KineticLaw(1,2);
       int i = kl1.setSubstanceUnits( "1second");
       assertTrue( i == libsbml.LIBSBML_INVALID_ATTRIBUTE_VALUE );
       assertEquals( false, kl1.isSetSubstanceUnits() );
       i = kl1.unsetSubstanceUnits();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( false, kl1.isSetSubstanceUnits() );
       kl1 = null;
 }
 public void test_KineticLaw_setSubstanceUnits2()
 {
     KineticLaw kl1 = new  KineticLaw(1,2);
       int i = kl1.setSubstanceUnits( "mole");
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( true, kl1.isSetSubstanceUnits() );
       i = kl1.unsetSubstanceUnits();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( false, kl1.isSetSubstanceUnits() );
       kl1 = null;
 }