Beispiel #1
0
        public void RangerLevel20IntMod0Returns114()
        {
            SkillPoints skillPoints = new SkillPoints();
            int         expected    = 114;
            int         actual      = skillPoints.SkillPointTotalHighLevel(20, 0, "Bard");

            Assert.AreEqual(expected, actual);
        }
Beispiel #2
0
        public void BarbarianLevel2IntMod2Returns6()
        {
            SkillPoints skillPoints = new SkillPoints();
            int         expected    = 6;
            int         actual      = skillPoints.SkillPointTotalHighLevel(2, 2, "Barbarian");

            Assert.AreEqual(expected, actual);
        }
Beispiel #3
0
        public void ClericLevel1IntMod4Returns0()
        {
            SkillPoints skillPoints = new SkillPoints();
            int         expected    = 0;
            int         actual      = skillPoints.SkillPointTotalHighLevel(1, 4, "Cleric");

            Assert.AreEqual(expected, actual);
        }
Beispiel #4
0
        public void OtherLevel2IntMod4Returns6()
        {
            SkillPoints skillPoints = new SkillPoints();
            int         expected    = 6;
            int         actual      = skillPoints.SkillPointTotalHighLevel(2, 4, "");

            Assert.AreEqual(expected, actual);
        }
Beispiel #5
0
        public void RogueLevel10IntMod4Returns108()
        {
            SkillPoints skillPoints = new SkillPoints();
            int         expected    = 108;
            int         actual      = skillPoints.SkillPointTotalHighLevel(10, 4, "Rogue");

            Assert.AreEqual(expected, actual);
        }