hasRequiredElements() public method

public hasRequiredElements ( ) : bool
return bool
 public void test_Model_L1V1()
 {
     Model m = new Model(1,1);
       assertEquals( false, (m.hasRequiredElements()) );
       m.createCompartment();
       assertEquals( false, (m.hasRequiredElements()) );
       m.createSpecies();
       assertEquals( false, (m.hasRequiredElements()) );
       m.createReaction();
       assertEquals( true, m.hasRequiredElements() );
       m = null;
 }
 public void test_Model_L1V2()
 {
     Model m = new Model(1,2);
       assertEquals( false, (m.hasRequiredElements()) );
       m.createCompartment();
       assertEquals( true, m.hasRequiredElements() );
       m = null;
 }
 public void test_Model()
 {
     Model m = new Model(2,4);
       assertEquals( true, m.hasRequiredElements() );
       m = null;
 }