public void test_KineticLaw_setSubstanceUnits4() { KineticLaw kl1 = new KineticLaw(1,2); int i = kl1.setSubstanceUnits(""); assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS ); assertEquals( false, kl1.isSetSubstanceUnits() ); kl1 = null; }
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; }