public void DishAdded() { var dish1 = new BusinessLogic.Dish (); dish1.AddIngredient (new BusinessLogic.Ingredient ("Carrot", 10)); dish1.AddIngredient (new BusinessLogic.Ingredient ("Water", 1)); dish1.AddIngredient (new BusinessLogic.Ingredient ("Salt", 0.5)); order.AddDish (dish1); Assert.Contains (dish1, order.Dishes); }
public void DishAdded() { var dish1 = new BusinessLogic.Dish(); dish1.AddIngredient(new BusinessLogic.Ingredient("Carrot", 10)); dish1.AddIngredient(new BusinessLogic.Ingredient("Water", 1)); dish1.AddIngredient(new BusinessLogic.Ingredient("Salt", 0.5)); order.AddDish(dish1); Assert.Contains(dish1, order.Dishes); }
public void IngredientAddedToDish() { dish.AddIngredient(ingredient1); Assert.Contains(ingredient1, dish.Ingredients); }