public void fooItem() { var Items = new BasicItem("foo", 0, 0); Items.Update(); Assert.AreEqual("foo", Items.Name); Assert.AreEqual(-1, Items.SellIn); Assert.AreEqual(0, Items.Quality); }
public void fooItem_outdated() { var Items = new BasicItem("foo", -1, 1); Items.Update(); Assert.AreEqual("foo", Items.Name); Assert.AreEqual(-2, Items.SellIn); Assert.AreEqual(0, Items.Quality); }