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 HealChanceSpell()
        {
            Heal  healing = new Heal();
            Spell s       = new Swinwarts_School_of_Magic.Heal("2. Paul's potent poultice");
            int   i       = 0;

            while (i < 5)
            {
//				healing.SpellCast (s);
                i++;
//				Console.WriteLine ("Spell succeed="+s.SpellsucceededOrNot);
            }
        }
        public void TestFetchingSpells()
        {
            SpellBook mySpellBook = new SpellBook();

            Spell[] arrayofspell;
            arrayofspell     = new Spell[5];
            arrayofspell [0] = new Teleport("1. Mitch's mighty mover");
            arrayofspell [1] = new Heal("2. Paul's potent poultice");
            arrayofspell [2] = new Invisibility("3. David's dashing disapperance");
            arrayofspell [3] = new Teleport("4. Stan's stunning shifter");
            arrayofspell [4] = new Heal("5. Lachlan's lavish longevity");
            foreach (Spell array0to4 in arrayofspell)
            {
                mySpellBook.AddSpells(array0to4);
            }

            Assert.AreSame(mySpellBook [0], arrayofspell [0]);
            Assert.AreSame(mySpellBook [1], arrayofspell [1]);
            Assert.AreSame(mySpellBook [2], arrayofspell [2]);
            Assert.AreSame(mySpellBook [3], arrayofspell [3]);
            Assert.AreSame(mySpellBook [4], arrayofspell [4]);
        }
        public void Heal()
        {
            Spell testingspell2 = new Heal("Paul's potent poultice");

            Assert.AreEqual(testingspell2.Cast(), "Ahhh...you feel better");
        }