public void ChipsTest_Consume() { decimal price = 1.00M; string item = "Chips"; Chips testItem = new Chips(price, item); Assert.AreEqual("Crunch, Crunch, YUM!", testItem.Consume()); }
public void ConsumeMethod() { Chips chipsNoise = new Chips("name", 2.25M); Assert.AreEqual("Crunch Crunch, Yum!", chipsNoise.Consume()); }