@@ -0,0 +1,941 @@
+package guitests;%0A%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport org.junit.Test;%0A%0Aimport seedu.tache.logic.commands.UndoCommand;%0Aimport seedu.tache.testutil.TestTask;%0A%0Apublic class UndoCommandTest extends TaskManagerGuiTest %7B%0A%0A    @Test%0A    public void undo() %7B%0A        //nothing to undo%0A        commandBox.runCommand(UndoCommand.COMMAND_WORD);%0A        assertResultMessage(UndoCommand.MESSAGE_EMPTY_HISTORY);%0A%0A        //add one task%0A        TestTask%5B%5D currentList = td.getTypicalTasks();%0A        TestTask taskToAdd = td.getFit;%0A        commandBox.runCommand(taskToAdd.getAddCommand());%0A        assertUndoSuccess(currentList);%0A%0A        //TODO: Add undo cases for other commands%0A    %7D%0A%0A    private void assertUndoSuccess(TestTask... originalList) %7B%0A        commandBox.runCommand(UndoCommand.COMMAND_WORD);%0A%0A        //confirm the list now contains the previous tasks%0A        assertTrue(taskListPanel.isListMatching(originalList));%0A    %7D%0A%7D%0A

Add partial test case for Undo Command