예제 #1
0
        public void item_quality_lowered_by_one_after_each_day()
        {
            _salesItem.UpdateQuality();

            Assert.True(_item.Quality == 19);
        }
예제 #2
0
        public void item_quality_is_never_negative()
        {
            _salesItem.UpdateQuality();

            Assert.True(_item.Quality >= 0);
        }
예제 #3
0
        public void item_sellin_lowered_by_one_after_each_day()
        {
            _salesItem.UpdateQuality();

            Assert.True(_item.SellIn == 14);
        }
예제 #4
0
        public void conjured_item_quality_lowered_by_two_after_each_day()
        {
            _salesItem.UpdateQuality();

            Assert.True(_item.Quality == 4);
        }