hasRequiredAttributes() public method

public hasRequiredAttributes ( ) : bool
return bool
Exemplo n.º 1
0
 public void test_L3_Reaction_hasRequiredAttributes()
 {
     Reaction r = new  Reaction(3,1);
       assertEquals( false, r.hasRequiredAttributes() );
       r.setId( "id");
       assertEquals( false, r.hasRequiredAttributes() );
       r.setFast(false);
       assertEquals( false, r.hasRequiredAttributes() );
       r.setReversible(false);
       assertEquals( true, r.hasRequiredAttributes() );
       r = null;
 }
Exemplo n.º 2
0
 public void test_Reaction()
 {
     Reaction r = new Reaction(2,4);
       assertEquals( false, (r.hasRequiredAttributes()) );
       r.setId("r");
       assertEquals( true, r.hasRequiredAttributes() );
       r = null;
 }