Example #1
0
        public void GivenASorcererLevel_KnownSpellArrayIsReturned(int level, int[] expectedSpells)
        {
            PlayerClass player = new Sorcerer();

            player.AssignLevel(level);
            player.GetClassKnownSpells();
            int[] actual = player.Magic.SpellsKnown;
            Assert.AreEqual(expectedSpells, actual);
        }