public void ShouldReturnIntellegenceAttributeScores() { //arrange ICharacterAttribute expectedAttribute = new IntellegenceAttribute(); //assert _attributeSet.MatchesName(CharacterAttributeName.Intelligence).Should().Be(expectedAttribute); }
public void ShouldReturnWisdomAsBaseAttribute() { //arrange ISkill skill = new History(); ICharacterAttribute intellegenceAttribute = new IntellegenceAttribute(); //act ICharacterAttribute actualAttribute = skill.BaseAttribute(); //assert actualAttribute.Should().Be(intellegenceAttribute); }
public void ShouldReturnBonusOfBaseAttribute() { //arrange IntellegenceAttribute intellegenceAttribute = new IntellegenceAttribute(new AttributeScore(14)); ISkill history = new History(intellegenceAttribute); IAttributeScore expectedScore = new AttributeScore(2); //act IAttributeScore actualScore = history.SkillBonus(); //assert actualScore.Should().Be(expectedScore); }
public void ShouldReturnBonusOfBaseAttribute() { //arrange IntellegenceAttribute intellegenceAttribute = new IntellegenceAttribute(new AttributeScore(14)); ISkill investigation = new Investigation(intellegenceAttribute); IAttributeScore expectedScore = new AttributeScore(2); //act IAttributeScore actualScore = investigation.SkillBonus(); //assert actualScore.Should().Be(expectedScore); }
public Arcana(IntellegenceAttribute intellegenceAttribute, bool activateSkill = false) : base(new TextObj("Arcana"), intellegenceAttribute, activateSkill) { }
public Religion(IntellegenceAttribute intellegenceAttribute, bool activateSkill = false) : base(new TextObj("Religion"), intellegenceAttribute, activateSkill) { }
public Nature(IntellegenceAttribute intellegenceAttribute, bool activateSkill = false) : base(new TextObj("Nature"), intellegenceAttribute, activateSkill) { }
public History(IntellegenceAttribute intellegenceAttribute, bool activateSkill = false) : base(new TextObj("History"), intellegenceAttribute, activateSkill) { }
public Investigation(IntellegenceAttribute intellegenceAttribute, bool activateSkill = false) : base(new TextObj("Investigation"), intellegenceAttribute, activateSkill) { }