public void Random_item_will_lose_2_quality_if_past_sell_by() { var item = new GenericItem("randomItem", -1, 20); item.UpdateItem(); Assert.Equal(item.Quality, 18); }
public void Random_item_will_lose_quality() { var item = new GenericItem("randomItem", 10, 20); item.UpdateItem(); Assert.Equal(item.Quality, 19); }
public void Random_item_will_lose_sell_in() { var item = new GenericItem("randomItem", 10, 20); item.UpdateItem(); Assert.Equal(item.SellIn, 9); }