public void ShouldNotChangeQuality_WhenQualityIs50OrAbove(int quality) { Item item = new Item() { Quality = quality }; ProcessBase.IncreaseQualityUntil50(item); Assert.AreEqual(quality, item.Quality); }
public void ShouldIncreaseQuality_WhenQualityUnder50() { Item item = new Item() { Quality = 7 }; ProcessBase.IncreaseQualityUntil50(item); Assert.AreEqual(8, item.Quality); }