public void ShouldReturnWisdomAttributeScores() { //arrange ICharacterAttribute expectedAttribute = new WisdomAttribute(); //assert _attributeSet.MatchesName(CharacterAttributeName.Wisdom).Should().Be(expectedAttribute); }
public void ShouldReturnWisdomAsBaseAttribute() { //arrange ISkill skill = new Insight(); ICharacterAttribute wisdomAttribute = new WisdomAttribute(); //act ICharacterAttribute actualAttribute = skill.BaseAttribute(); //assert actualAttribute.Should().Be(wisdomAttribute); }
public void ShouldReturnBaseAttribute() { //arrange ISkill skill = new AnimalHandling(); ICharacterAttribute wisdomAttribute = new WisdomAttribute(); //act ICharacterAttribute actualAttribute = skill.BaseAttribute(); //assert actualAttribute.Should().Be(wisdomAttribute); }
public void ShouldReturnBonusOfBaseAttribute() { //arrange WisdomAttribute wisdomAttribute = new WisdomAttribute(new AttributeScore(14)); ISkill insight = new Insight(wisdomAttribute); IAttributeScore expectedScore = new AttributeScore(2); //act IAttributeScore actualScore = insight.SkillBonus(); //assert actualScore.Should().Be(expectedScore); }
public void ShouldReturnBonusOfBaseAttribute() { //arrange WisdomAttribute wisdomAttribute = new WisdomAttribute(new AttributeScore(14)); ISkill animalHandling = new AnimalHandling(wisdomAttribute); IAttributeScore expectedScore = new AttributeScore(2); //act IAttributeScore actualScore = animalHandling.SkillBonus(); //assert actualScore.Should().Be(expectedScore); }
public void ShouldReturnBonusOfBaseAttribute() { //arrange WisdomAttribute wisdomAttribute = new WisdomAttribute(new AttributeScore(14)); ISkill perception = new Perception(wisdomAttribute); IAttributeScore expectedScore = new AttributeScore(2); //act IAttributeScore actualScore = perception.SkillBonus(); //assert actualScore.Should().Be(expectedScore); }
public Insight(WisdomAttribute wisdomAttribute, bool activateSkill = false) : base(new TextObj("Insight"), wisdomAttribute, activateSkill) { }
public Perception(WisdomAttribute wisdomAttribute, bool activateSkill = false) : base(new TextObj("Perception"), wisdomAttribute, activateSkill) { }
public Medicine(WisdomAttribute wisdomAttribute, bool activateSkill = false) : base(new TextObj("Medicine"), wisdomAttribute, activateSkill) { }
public Survival(WisdomAttribute wisdomAttribute, bool activateSkill = false) : base(new TextObj("Survival"), wisdomAttribute, activateSkill) { }
public AnimalHandling(WisdomAttribute wisdomAttribute, bool activateSkill = false) : base(new TextObj("Animal Handling"), wisdomAttribute, activateSkill) { }