libsbmlcs.Compartment.isSetUnits C# (CSharp) Method

isSetUnits() public method

public isSetUnits ( ) : bool
return bool
        public bool isSetUnits()
        {
            bool ret = libsbmlPINVOKE.Compartment_isSetUnits(swigCPtr);
            return ret;
        }

Usage Example

Esempio n. 1
0
 public void test_Compartment_initDefaults()
 {
     Compartment c = new  Compartment(2,4);
       c.setId( "A");
       c.initDefaults();
       assertTrue((  "A" == c.getId() ));
       assertTrue( c.getName() == "" );
       assertTrue( c.getUnits() == "" );
       assertTrue( c.getOutside() == "" );
       assertTrue( c.getSpatialDimensions() == 3 );
       assertTrue( c.getVolume() == 1.0 );
       assertTrue( c.getConstant() == true );
       assertEquals( true, c.isSetId() );
       assertEquals( false, c.isSetName() );
       assertEquals( false, c.isSetSize() );
       assertEquals( false, c.isSetVolume() );
       assertEquals( false, c.isSetUnits() );
       assertEquals( false, c.isSetOutside() );
       assertEquals( true, c.isSetSpatialDimensions() );
       assertEquals( true, c.isSetConstant() );
       c = null;
 }
All Usage Examples Of libsbmlcs.Compartment::isSetUnits