getSize() public method

public getSize ( ) : double
return double
 public void test_Compartment_setSize2()
 {
     Compartment c = new  Compartment(2,2);
       int i = c.setSize(4);
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( c.getSize() == 4 );
       assertEquals( true, c.isSetSize() );
       i = c.unsetSize();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( false, c.isSetSize() );
       c = null;
 }
 public void test_L3_Compartment_initDefaults()
 {
     Compartment c = new  Compartment(3,1);
       c.setId( "A");
       assertEquals( true, c.isSetId() );
       assertEquals( false, c.isSetName() );
       assertEquals( false, c.isSetSize() );
       assertEquals( false, c.isSetVolume() );
       assertEquals( false, c.isSetUnits() );
       assertEquals( false, c.isSetConstant() );
       assertEquals( false, c.isSetSpatialDimensions() );
       c.initDefaults();
       assertTrue((  "A" == c.getId() ));
       assertTrue( c.getName() == "" );
       assertTrue((  "litre" == c.getUnits() ));
       assertTrue( c.getSpatialDimensions() == 3 );
       assertTrue( c.getSize() == 1 );
       assertTrue( c.getConstant() == true );
       assertEquals( true, c.isSetId() );
       assertEquals( false, c.isSetName() );
       assertEquals( false, c.isSetSize() );
       assertEquals( false, c.isSetVolume() );
       assertEquals( true, c.isSetUnits() );
       assertEquals( true, c.isSetConstant() );
       assertEquals( true, c.isSetSpatialDimensions() );
       c = null;
 }