Esempio n. 1
0
        public void Input_MealType_Morning_OK()
        {
            string   input = "MORniNG";
            MealType c     = new OrderingValidator().GetMealType(input);

            Assert.IsTrue(c == MealType.MORNING);
        }
Esempio n. 2
0
        public void Input_MealType_Night_OK()
        {
            string   input = "Night";
            MealType c     = new OrderingValidator().GetMealType(input);

            Assert.IsTrue(c == MealType.NIGHT);
        }
Esempio n. 3
0
        public void Input_MealType_Error()
        {
            string   input = "MORaiNG";
            MealType c     = new OrderingValidator().GetMealType(input);

            Assert.IsTrue(c == MealType.NOTAVAILABLE);
        }