public void Test_Backstage_Update_QualityZero_ReturnOk() { // Arrange Backstage backstage = new Backstage("Backstage", -1, 30); //Act backstage.Update(); //Assert Assert.Equal(0, backstage.Quality); Assert.Equal(-2, backstage.SellIn); }
public void Test_Backstage_Update_Increse3_ReturnOk() { // Arrange Backstage backstage = new Backstage("Backstage", 2, 0); //Act backstage.Update(); //Assert Assert.Equal(3, backstage.Quality); Assert.Equal(1, backstage.SellIn); }