public void BackstagePassesAfterDayLessThanSixDaysAway() { BackstagePasses item = new BackstagePasses { SellIn = 5, Quality = 10 }; item.AddDay(); Assert.Equal(4, item.SellIn); Assert.Equal(13, item.Quality); }
public void BackstagePassesAfterDayAfterSellIn() { BackstagePasses item = new BackstagePasses { SellIn = 0, Quality = 10 }; item.AddDay(); Assert.Equal(-1, item.SellIn); Assert.Equal(0, item.Quality); }
public void BackstagePassesAfterDayOverFiveDaysAway() { BackstagePasses item = new BackstagePasses { SellIn = 7, Quality = 10 }; item.AddDay(); Assert.Equal(6, item.SellIn); Assert.Equal(12, item.Quality); }