hasRequiredAttributes() 공개 메소드

public hasRequiredAttributes ( ) : bool
리턴 bool
예제 #1
0
 public void test_L3_SpeciesReference_hasRequiredAttributes()
 {
     SpeciesReference sr = new  SpeciesReference(3,1);
       assertEquals( false, sr.hasRequiredAttributes() );
       sr.setSpecies( "id");
       assertEquals( false, sr.hasRequiredAttributes() );
       sr.setConstant(false);
       assertEquals( true, sr.hasRequiredAttributes() );
       sr = null;
 }
예제 #2
0
 public void test_SpeciesReference()
 {
     SpeciesReference sr = new SpeciesReference(2,4);
       assertEquals( false, (sr.hasRequiredAttributes()) );
       sr.setSpecies("sr");
       assertEquals( true, sr.hasRequiredAttributes() );
       sr = null;
 }