public void GetPlansReturnsErrorWhenNoDishesAreAdded() { var temp = new FoodPlan(FoodPlanType.Night); var result = temp.GetPlan(); Assert.AreEqual("error", result); }
public void GetPlansReturnMultipleSides() { var temp = new FoodPlan(FoodPlanType.Night); temp.AddItem(DishType.Side); temp.AddItem(DishType.Side); var result = temp.GetPlan(); StringAssert.Contains(result, "x2"); }
public void GetPlansReturnMultipleDrinks() { var temp = new FoodPlan(FoodPlanType.Morning); temp.AddItem(DishType.Drink); temp.AddItem(DishType.Drink); temp.AddItem(DishType.Drink); var result = temp.GetPlan(); StringAssert.Contains(result, "x3"); }