isSetCharge() public method

public isSetCharge ( ) : bool
return bool
Ejemplo n.º 1
0
 public void test_Species_setCharge3()
 {
     Species c = new  Species(2,1);
       int i = c.unsetCharge();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( false, c.isSetCharge() );
       c = null;
 }
Ejemplo n.º 2
0
 public void test_Species_setCharge2()
 {
     Species c = new  Species(2,2);
       int i = c.setCharge(4);
       assertTrue( i == libsbml.LIBSBML_UNEXPECTED_ATTRIBUTE );
       assertEquals( false, c.isSetCharge() );
       c = null;
 }