public void ShouldNotEquate() { //arrange IAttributeScore score1 = new AttributeScore(4); IAttributeScore score2 = new AttributeScore(8); //assert score2.Should().NotBe(score1); }
public void ShouldSubtract() { //arrange AttributeScore score1 = new AttributeScore(6); AttributeScore score2 = new AttributeScore(8); IAttributeScore totalScore = new AttributeScore(2); IAttributeScore actualScore = score2.Subtract(score1); //assert totalScore.Should().Be(actualScore); }
public void ShouldAdd() { //arrange AttributeScore score1 = new AttributeScore(4); AttributeScore score2 = new AttributeScore(8); IAttributeScore totalScore = new AttributeScore(12); IAttributeScore actualScore = score1.Add(score2); //assert totalScore.Should().Be(actualScore); }