public void Test_Opc_Night_1_2_2_4() { string opcs = "1,2,2,4"; var dishes = new DishesData().GetByDishType(opcs, night); var dishesFormated = Helper.Format(dishes); Assert.AreEqual("steak,potato(x2),cake", dishesFormated); }
public void Test_Opc_Morning_1_2_3_3_3() { string opcs = "1,2,3,3,3"; var dishes = new DishesData().GetByDishType(opcs, morning); var dishesFormated = Helper.Format(dishes); Assert.AreEqual("eggs,toasts,coffee(x3)", dishesFormated); }
public void Test_Opc_Night_1_2_2_5_4_NUnit() { string opcs = "1,2,2,5,4"; var dishes = new DishesData().GetByDishType(opcs, night); var dishesFormated = Helper.Format(dishes); NUnit.Framework.Assert.AreEqual("steak,potato(x2),error", dishesFormated); Console.WriteLine(string.Format("Test Night: input {0} output {1}", opcs, dishesFormated)); }
public void Test_Opc_Morning_1_2_3_3_3_NUnit() { string opcs = "1,2,3,3,3"; var dishes = new DishesData().GetByDishType(opcs, morning); var dishesFormated = Helper.Format(dishes); NUnit.Framework.Assert.AreEqual("eggs,toasts,coffee(x3)", dishesFormated); Console.WriteLine(string.Format("Test Morning: input {0} output {1}", opcs, dishesFormated)); }