Exemple #1
0
        public void TestCaseMorning_repeat()
        {
            string[] dishes = new string[] { "1", "2", "3", "3", "3" };
            morning  m      = new morning();
            string   result = m.getDishes(dishes);

            Assert.AreEqual(result, "eggs, toast, coffee(x3)");
        }
Exemple #2
0
        public void TestCaseMorning_outOfBonds()
        {
            string[] dishes = new string[] { "1", "2", "3", "4" };
            morning  m      = new morning();
            string   result = m.getDishes(dishes);

            Assert.AreEqual(result, "eggs, toast, coffee, error");
        }