public void TestHikedTicketItem_Age_QualityIs0WhenSellInIsLessThan0() { //Arrange Item item = new HikedTicketItem("test-hiked-ticket-item", -1, 10); //Act item.Age(); //Assert Assert.AreEqual(0, item.Quality); }
public void TestHikedTicketItem_Age_QualityIncreaseIs3WhenSellInIs0() { //Arrange Item item = new HikedTicketItem("test-hiked-ticket-item", 0, 10); //Act item.Age(); //Assert Assert.AreEqual(10 + 3, item.Quality); }