public void ChangenameHeal() { Spell testingspell2 = new Swinwarts_School_of_Magic.Heal("qwerty"); Assert.AreSame(testingspell2.Cast(), "Ahhh...you feel better"); testingspell2.Name = "xyz"; Assert.AreSame(testingspell2.Cast(), "Ahhh...you feel better"); }
public void Heal() { Spell testingspell2 = new Heal("Paul's potent poultice"); Assert.AreEqual(testingspell2.Cast(), "Ahhh...you feel better"); }