コード例 #1
0
 public string GetDish(DishConstant.TimeOfDay timeOfDay, DishConstant.DishType dishType)
 {
     var dishService = new DishService();
     return dishService.GetDish(timeOfDay, dishType).dishName;
 }
コード例 #2
0
 public void GetDish()
 {
     var dishService = new DishService();
     Assert.AreEqual("error", dishService.GetDish(DishConstant.TimeOfDay.Morning, DishConstant.DishType.Dessert).dishName);
 }