public void CorrectMediumToString() { Triceritots t = new Triceritots(); t.MakeMedium(); Assert.Equal("Medium Triceritots", t.ToString()); }
public void ShouldHaveCorrectSpecialInstructions() { SteakosaurusBurger s = new SteakosaurusBurger(); Triceritots t = new Triceritots(); Sodasaurus ss = new Sodasaurus(); s.HoldBun(); s.HoldKetchup(); t.MakeMedium(); ss.HoldIce(); CretaceousCombo c = new CretaceousCombo(s); c.Side = t; c.Drink = ss; Assert.Collection <string>(c.Special, item => { Assert.Equal("Hold Bun", item); }, item => { Assert.Equal("Hold Ketchup", item); }, item => { Assert.Equal("Medium Triceritots", item); }, item => { Assert.Equal("Small Cola Sodasaurus", item); }, item => { Assert.Equal("Hold Ice", item); }); }
public void CorrectMediumDescription() { Triceritots t = new Triceritots(); t.MakeMedium(); Assert.Equal("Medium Triceritots", t.Description); }