unsetTimeUnits() public method

public unsetTimeUnits ( ) : int
return int
 public void test_Event_setTimeUnits3()
 {
     string units =  "1second";
       Event e = new  Event(2,1);
       int i = e.setTimeUnits(units);
       assertTrue( i == libsbml.LIBSBML_INVALID_ATTRIBUTE_VALUE );
       assertEquals( false, e.isSetTimeUnits() );
       i = e.unsetTimeUnits();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( false, e.isSetTimeUnits() );
       e = null;
 }
 public void test_Event_setTimeUnits2()
 {
     string units =  "second";
       Event e = new  Event(2,1);
       int i = e.setTimeUnits(units);
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue(( units == e.getTimeUnits() ));
       assertEquals( true, e.isSetTimeUnits() );
       i = e.unsetTimeUnits();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( false, e.isSetTimeUnits() );
       e = null;
 }