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