Beispiel #1
0
        public void OtherIntMod3Returns20()
        {
            SkillPoints skillPoints = new SkillPoints();
            int         expected    = 20;
            int         actual      = skillPoints.SkillPointTotalLevelOne(3, "");

            Assert.AreEqual(expected, actual);
        }
Beispiel #2
0
        public void BardIntMod2Returns32()
        {
            SkillPoints skillPoints = new SkillPoints();
            int         expected    = 32;
            int         actual      = skillPoints.SkillPointTotalLevelOne(2, "Bard");

            Assert.AreEqual(expected, actual);
        }
Beispiel #3
0
        public void RogueIntMod4Returns48()
        {
            SkillPoints skillPoints = new SkillPoints();
            int         expected    = 48;
            int         actual      = skillPoints.SkillPointTotalLevelOne(4, "Rogue");

            Assert.AreEqual(expected, actual);
        }
Beispiel #4
0
        public void BarbarianIntModNegative1Returns12()
        {
            SkillPoints skillPoints = new SkillPoints();
            int         expected    = 12;
            int         actual      = skillPoints.SkillPointTotalLevelOne(-1, "Barbarian");

            Assert.AreEqual(expected, actual);
        }