setCharge() 공개 메소드

public setCharge ( int value ) : int
value int
리턴 int
예제 #1
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;
 }