Beispiel #1
0
        public void SpendManaMethod_AppropriatelyAltersCurrentMana()
        {
            const int manaSpent = FighterMana - 1;
            var       ret       = _fighter.SpendMana(manaSpent);

            Assert.AreEqual(1, _fighter.CurrentMana);
            Assert.AreEqual(FighterMana, _fighter.MaxMana);

            Assert.AreEqual(manaSpent, ret);
        }