public void NormalTestQualityDecreasesTwiceAsFastWhenSellinNegative() { var normalItem = new NormalItem(); normalItem.EndOfDayUpdate(0, 4); normalItem.Quality.ShouldBe(2); }
public void NormalTestSellin() { var normalItem = new NormalItem(); normalItem.EndOfDayUpdate(4, 5); normalItem.SellIn.ShouldBe(3); }
public void NormalTestQualityNotBelowZero() { var normalItem = new NormalItem(); normalItem.EndOfDayUpdate(4, 0); normalItem.Quality.ShouldBe(0); }
public void NormalTestQuality() { var normalItem = new NormalItem(); normalItem.EndOfDayUpdate(4, 5); normalItem.Quality.ShouldBe(4); }