public void ShouldReturnWisdomAttributeScores()
        {
            //arrange
            ICharacterAttribute expectedAttribute = new WisdomAttribute();

            //assert
            _attributeSet.MatchesName(CharacterAttributeName.Wisdom).Should().Be(expectedAttribute);
        }
Exemplo n.º 2
0
        public void ShouldReturnWisdomAsBaseAttribute()
        {
            //arrange
            ISkill skill = new Insight();
            ICharacterAttribute wisdomAttribute = new WisdomAttribute();
            //act
            ICharacterAttribute actualAttribute = skill.BaseAttribute();

            //assert
            actualAttribute.Should().Be(wisdomAttribute);
        }
Exemplo n.º 3
0
        public void ShouldReturnBaseAttribute()
        {
            //arrange
            ISkill skill = new AnimalHandling();
            ICharacterAttribute wisdomAttribute = new WisdomAttribute();
            //act
            ICharacterAttribute actualAttribute = skill.BaseAttribute();

            //assert
            actualAttribute.Should().Be(wisdomAttribute);
        }
Exemplo n.º 4
0
        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);
        }
Exemplo n.º 5
0
        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);
        }
Exemplo n.º 6
0
        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);
        }
Exemplo n.º 7
0
 public Insight(WisdomAttribute wisdomAttribute, bool activateSkill = false) : base(new TextObj("Insight"), wisdomAttribute, activateSkill)
 {
 }
Exemplo n.º 8
0
 public Perception(WisdomAttribute wisdomAttribute, bool activateSkill = false) : base(new TextObj("Perception"), wisdomAttribute, activateSkill)
 {
 }
Exemplo n.º 9
0
 public Medicine(WisdomAttribute wisdomAttribute, bool activateSkill = false) : base(new TextObj("Medicine"), wisdomAttribute, activateSkill)
 {
 }
Exemplo n.º 10
0
 public Survival(WisdomAttribute wisdomAttribute, bool activateSkill = false) : base(new TextObj("Survival"), wisdomAttribute, activateSkill)
 {
 }
Exemplo n.º 11
0
 public AnimalHandling(WisdomAttribute wisdomAttribute, bool activateSkill = false) : base(new TextObj("Animal Handling"), wisdomAttribute, activateSkill)
 {
 }