public void BackstagePassTestQualityWhereSellinBetween5and10() { var backstagePass = new BackstagePasses(); backstagePass.EndOfDayUpdate(9, 5); backstagePass.Quality.ShouldBe(7); }
public void BackstagePassTestQualityWhereSellinLess0() { var backstagePass = new BackstagePasses(); backstagePass.EndOfDayUpdate(-1, 5); backstagePass.Quality.ShouldBe(0); }
public void BackstagePassTestQualityWhereSellinGreaterThan10() { var backstagePass = new BackstagePasses(); backstagePass.EndOfDayUpdate(12, 5); backstagePass.Quality.ShouldBe(6); }