getSpatialDimensions() public méthode

public getSpatialDimensions ( ) : long
Résultat long
 public void test_Compartment_setSpatialDimensions5()
 {
     Compartment c = new  Compartment(2,2);
       int i = c.setSpatialDimensions(2.2);
       assertTrue( i == libsbml.LIBSBML_INVALID_ATTRIBUTE_VALUE );
       assertTrue( c.getSpatialDimensions() == 3 );
       c = null;
 }
 public void test_Compartment_setSpatialDimensions4()
 {
     Compartment c = new  Compartment(2,2);
       int i = c.setSpatialDimensions(2.0);
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( c.getSpatialDimensions() == 2 );
       c = null;
 }