public void ShouldAddActionsToCharacterWhenSkillChosen()
 {
     var p = new Player();
     p.LevelUp();
     Assert.IsFalse(p.GetActions(false).Exists(i => i is SpellSpear));
     p.ChooseSkill(new PathOfTheWizard());
     Assert.IsTrue(p.GetActions(false).Exists(i => i is SpellSpear));
 }
 public void ShouldNotAddDuplicateActions()
 {
     var p = new Player();
     p.AddAction(new LittleHeal());
     p.AddAction(new LittleHeal());
     Assert.IsTrue(p.GetActions(false).Count(i => i is LittleHeal) == 1);
 }
 public void ShouldAddAction()
 {
     var p = new Player();
     p.AddAction(new LittleHeal());
     Assert.IsTrue(p.GetActions(false).Exists(i => i is LittleHeal));
 }