Example #1
0
        public void HasACertainNumberOfUsesPerDay()
        {
            var yaml      = @"---
spell: ghost sound
per-day: 1";
            var spellLike = new SpellLikeAbility(yaml.ParseYaml());

            Assert.Equal(1, spellLike.UsesPerDay);
            Assert.Equal("ghost sound", spellLike.Spell);
            Assert.Equal("1/day - ghost sound", spellLike.DisplayString());
        }