Beispiel #1
0
        public void ShouldReturnNameObject()
        {
            //assign
            IAttributeName nameStr = CharacterAttributeName.Strength;

            //assert
            nameStr.Name().Should().Be(new TextObj("STR"));
        }
Beispiel #2
0
 public ITextObj DisplayText() => _name.Name().Append(new TextObj(": ")).Append(Score().AsText());