public void HoldMustardShouldRemoveMustard() { SteakosaursBurger sb = new SteakosaursBurger(); sb.HoldMustard(); Assert.DoesNotContain <string>("Mustard", sb.Ingredients); }
public void HoldKetchupShouldRemoveKetchup() { SteakosaursBurger sb = new SteakosaursBurger(); sb.HoldKetchup(); Assert.DoesNotContain <string>("Ketchup", sb.Ingredients); }
public void HoldPickleShouldRemovePickle() { SteakosaursBurger sb = new SteakosaursBurger(); sb.HoldPickle(); Assert.DoesNotContain <string>("Pickle", sb.Ingredients); }
public void HoldBunShouldRemoveBun() { SteakosaursBurger sb = new SteakosaursBurger(); sb.HoldBun(); Assert.DoesNotContain <string>("Whole Wheat Bun", sb.Ingredients); }
public void ShouldListDefaultIngredients() { SteakosaursBurger sb = new SteakosaursBurger(); List <string> ingredients = sb.Ingredients; Assert.Contains <string>("Whole Wheat Bun", ingredients); Assert.Contains <string>("Steakburger Pattie", ingredients); Assert.Contains <string>("Pickle", ingredients); Assert.Contains <string>("Ketchup", ingredients); Assert.Contains <string>("Mustard", ingredients); Assert.Equal <int>(5, ingredients.Count); }
public void ShouldHaveCorrectDefaultPrice() { SteakosaursBurger sb = new SteakosaursBurger(); Assert.Equal(5.15, sb.Price, 2); }
public void ShouldHaveCorrectDefaultCalories() { SteakosaursBurger sb = new SteakosaursBurger(); Assert.Equal <uint>(621, sb.Calories); }