public void Level2HumanWizardIntMod4Returns35() { SkillPoints skillpoints = new SkillPoints(); int expected = 35; int actual = skillpoints.SkillPointTotal(2, 4, "Wizard", "Human"); Assert.AreEqual(expected, actual); }
public void Level2ElfClericIntMod4Returns38() { SkillPoints skillpoints = new SkillPoints(); int expected = 30; int actual = skillpoints.SkillPointTotal(2, 4, "Cleric", "Elf"); Assert.AreEqual(expected, actual); }
public void Level1ElfWizardIntMod4Returns24() { SkillPoints skillpoints = new SkillPoints(); int expected = 24; int actual = skillpoints.SkillPointTotal(1, 4, "Wizard", "Elf"); Assert.AreEqual(expected, actual); }
public void Level1HumanRangerIntMod4Returns24() { SkillPoints skillpoints = new SkillPoints(); int expected = 44; int actual = skillpoints.SkillPointTotal(1, 4,"Ranger","Human"); Assert.AreEqual(expected,actual); }
public virtual void CalculateSkillPoints() { SkillPoints skill = new SkillPoints(); TotalSkillPoints = skill.SkillPointTotal(PlayerClass.PlayerLevel, PlayerClass.StatMods.IntAbilityMod, PlayerClass.ChosenClass, Race.RaceName); }