public void TestThatCharacterIsDeadAfterTakingDamage() { var target = new Character("Bob", null, 10, 10, 10, new Item(), "Warrior"); target.DeductCharacterHitPoints(100); Assert.AreEqual(target.GetDead(), true); }
public void TestThatCharacterIsDead() { var target = new Character("Bob", null, 10, 10, 10, new Item(), "Warrior"); target.SetDead(); Assert.AreEqual(target.GetDead(), true); }