public void ShouldNotMatchName() { //assign ICharacterAttribute attribute = new StrengthAttribute(new AttributeScore(18)); //act bool matchesName = attribute.MatchesName(CharacterAttributeName.Dexterity); //assert matchesName.Should().BeFalse(); }
public void ShouldMatchName() { //assign ICharacterAttribute attribute = new StrengthAttribute(new AttributeScore(18)); //act bool matchesName = attribute.MatchesName(CharacterAttributeName.Strength); //assert matchesName.Should().BeTrue(); }