public void TestThatGameBoardHasEffectList()
 {
     var target = new GameBoard(null, null, null, null, new Environments("shine", null));
     Assert.IsNotNull(target.getEffectList());
 }
 public void TestThatGameBoardHasNoEffectAfterRemovingEffectinEffectList()
 {
     Character bob = new Character("Bob", null, 10, 10, 10, new Item(), "Warrior");
     Effect effThat = new Effect("health", 10, 1.0, true, bob);
     var target = new GameBoard(null, null, null, null, null);
     target.addEffect(effThat);
     target.destroyEffect(effThat);
     Assert.AreEqual(target.getEffectList().Count, 0);
 }
 public void TestThatGameBoardHasEffectInEffectList()
 {
     Character bob = new Character("Bob", null, 10, 10, 10, new Item(), "Warrior");
     Effect effThat = new Effect("health", 10, 1.0, true, bob);
     var target = new GameBoard(null, null, null, null, null);
     target.addEffect(effThat);
     Assert.AreEqual(effThat, target.getEffectList()[0]);
 }