public void RecklessnessSpell_ShouldGenerateRage_WhenCasted() { IWarriorHero hero = ClassFactory.CreateWarrior("test"); double amount = hero.Power.PowerCurr; hero.Cast(WarriorSpellFactory.CreateRecklessness()); Assert.AreNotEqual(amount, hero.Power.PowerCurr); }
public void RecklessnessSpell_ShouldHealHero_WhenCasted() { IWarriorHero hero = ClassFactory.CreateWarrior("test"); hero.HealthCurr = 1; double health = hero.HealthCurr; hero.Cast(WarriorSpellFactory.CreateRecklessness()); Assert.AreNotEqual(health, hero.HealthCurr); }