package guitests;

import org.junit.Test;

import static org.junit.Assert.assertTrue;

public class ClearCommandTest extends ToDoListGuiTest {
/*
    @Test
    public void clear() {
/*
        //verify a non-empty list can be cleared
        assertTrue(taskListPanel.isListMatching(td.getTypicalTasks()));
        assertClearCommandSuccess();

        //verify other commands can work after a clear command
        commandBox.runCommand(td.meetHoon.getAddCommand());
        assertTrue(taskListPanel.isListMatching(td.meetHoon));
        commandBox.runCommand("delete 1");
        assertListSize(0);

        //verify clear command works when the list is empty
        assertClearCommandSuccess();
    }

    private void assertClearCommandSuccess() {
        commandBox.runCommand("clear");
        assertListSize(0);
    }*/
}

@@ -136,18 +136,16 @@
 iTest %7B%0A
-/*
 %0A    @Te
@@ -742,16 +742,18 @@
 cess() %7B
+*/
 %0A       
@@ -817,13 +817,11 @@
 );%0A    %7D
-*/
 %0A%7D%0A

Revert "commented out clear for now"