public void ShouldReturnSavingThrows() { //assign List <ISavingThrowAttribute> expectedThrowAttributes = new List <ISavingThrowAttribute> { SavingThrowAttribute.Intellegence, SavingThrowAttribute.Wisdom }; //act List <ISavingThrowAttribute> savingThrows = new Wizard().SavingThrows(); //assert savingThrows.All(i => expectedThrowAttributes.Contains(i)).Should().BeTrue(); }
public void ShouldReturnProficiencies() { //arrange List <IProficiency> expectedProf = new List <IProficiency> { new Dagger(), new Darts(), new Sling(), new Quarterstaff(), new LightCrossbow() }; //act List <IProficiency> actualProfs = new Wizard().Proficiencies(); //assert actualProfs.All(i => expectedProf.Contains(i)).Should().BeTrue(); }
public void ShouldReturnSkillList() { //assign List <ISkill> expectedSkills = new List <ISkill> { new Arcana(), new History(), new Insight(), new Investigation(), new Medicine(), new Religion() }; //act List <ISkill> actualSkills = new Wizard().Skills(); //assert actualSkills.All(i => expectedSkills.Contains(i)).Should().BeTrue(); }