Exemple #1
0
        public void ReturnsSpellsAvailableInTheBook()
        {
            var book = new Spellbook();

            book.AddSpells(0, new string[] { "light", "foo" });
            Assert.Equal(new string[] { "light", "foo" }, book.GetSpells(0));
        }
Exemple #2
0
        public void ReturnsEmptyStringIfSpellLevelIsNotInBook()
        {
            var book = new Spellbook();

            Assert.Equal(new string[] { }, book.GetSpells(0));
        }