getOffset() public method

public getOffset ( ) : double
return double
 public void test_Unit_setOffset2()
 {
     Unit U1 = new  Unit(2,1);
       int i = U1.setOffset(2.0);
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( U1.getOffset() == 2 );
 }