Пример #1
0
        public void TestUpdateSpellsDC()
        {
            Bard bard = new Bard()
            {
                Charisma = 32
            };

            bard.KeyAttributeModifier = bard.GetModifier(bard.Charisma);
            int[] spellsDc = new int[10] {
                21, 22, 23, 24, 25, 26, 27, -1, -1, -1
            };

            // Act
            bard.GetSpellsDC();

            // Assert
            Assert.Equal(spellsDc, bard.SpellsDC);
        }