Пример #1
0
        public void IsNotCompleteTaskSorted_ZeroNeedsActionInList_ReturnsZeroAndPass()
        {
            //Arrange objects, creating and setting them up as necessary.
            CalendarController controller = new CalendarController();

            string[] tasks = { "completed", "completed", "completed", "completed" };

            //Act on an object.
            string[] result = controller.CountingTasks(tasks);

            //Assert that something is as expected.
            Assert.AreEqual(0, result.Length);
        }