Beispiel #1
0
        public void 最初のTODO表示を選択すると最初のTODOが返ってくる()
        {
            //CSVの初期化
            startProcess.TestStartingBeforeOperation_ElemetsCountIs_7();
            var todoListManager = new TodoListManager();
            var operationSelect = new OperationSelect();
            var expectedString  = todoListManager.AcquisitionFirstTodo();
            var returnString    = operationSelect.InvokeInputedNumberFixProcess(2);

            Assert.AreEqual(expectedString, returnString);
        }
        public void 最初のTODOを取得するとリストの最初のTODOが返ってくる()
        {
            //CSVの初期化
            startProcess.TestStartingBeforeOperation_ElemetsCountIs_7();
            var todoListManager = new TodoListManager();

            todoListManager.LoadCsvFileToTodoList();
            var expectedTodoString = todoListManager.TodoList[0];
            var firstTodo          = todoListManager.AcquisitionFirstTodo();

            Assert.AreEqual(expectedTodoString, firstTodo);
        }