@@ -0,0 +1,960 @@
+package guitests;%0A%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport org.junit.Test;%0A%0Aimport seedu.task.logic.commands.UndoCommand;%0Aimport seedu.task.testutil.TestTask;%0A%0Apublic class UndoCommandTest extends TaskListGuiTest %7B%0A    @Test%0A    public void undoSingle() throws Exception %7B%0A        //undo while no history is present%0A        commandBox.runCommand(%22undo%22);%0A        assertResultMessage(UndoCommand.MESSAGE_NO_HISTORY);%0A%0A        //undo add%0A        TestTask%5B%5D originalList = td.getTypicalPersons();%0A        commandBox.runCommand(td.hoon.getAddCommand());%0A        commandBox.runCommand(%22undo%22);%0A        assertTrue(personListPanel.isListMatching(originalList));%0A%0A        //undo edit%0A        String detailsToEdit = %22Bobby t/husband%22;%0A        int taskListIndex = 1;%0A        commandBox.runCommand(%22edit %22 + taskListIndex + %22 %22 + detailsToEdit);%0A        commandBox.runCommand(%22undo%22);%0A        assertTrue(personListPanel.isListMatching(originalList));%0A    %7D%0A%0A%7D%0A

Add undo test