public void ShouldValidateQualityLowerLimit() { // arrange Normal itemz = new Normal(0, 0); // act itemz.AdjustQuality(); //assert itemz.CurrentQuality().Should().Be(0); }
public void ShouldDecrementQuality1XIfBeforeSellIn() { // arrange Normal itemz = new Normal(1, 5); // act itemz.AdjustQuality(); //assert itemz.CurrentQuality().Should().Be(4); }
public void ShouldDecrementQuality2XIfPastSellIn() { // arrange Normal itemz = new Normal(0, 6); // act itemz.AdjustQuality(); //assert itemz.CurrentQuality().Should().Be(4); }