Ejemplo n.º 1
0
        public void ShouldNotChangeQuality_WhenQualityIs50OrAbove(int quality)
        {
            Item item = new Item()
            {
                Quality = quality
            };

            ProcessBase.IncreaseQualityUntil50(item);

            Assert.AreEqual(quality, item.Quality);
        }
Ejemplo n.º 2
0
        public void ShouldIncreaseQuality_WhenQualityUnder50()
        {
            Item item = new Item()
            {
                Quality = 7
            };

            ProcessBase.IncreaseQualityUntil50(item);

            Assert.AreEqual(8, item.Quality);
        }