/** @@author A0142130A **/
package guitests;

import org.junit.Test;

import seedu.taskell.logic.commands.ViewCalendarCommand;

public class ViewCalendarCommandTest extends TaskManagerGuiTest {
    
    @Test
    public void viewCal_success() {
        String expected = ViewCalendarCommand.MESSAGE_SUCCESS;
        
        commandBox.runCommand("calendar");
        assertResultMessage(expected);
        
        commandBox.runCommand("cal");
        assertResultMessage(expected);
    }
}

@@ -119,16 +119,72 @@
 Command;
+%0Aimport seedu.taskell.logic.commands.ViewHistoryCommand;
 %0A%0Apublic
@@ -540,10 +540,300 @@
 ;%0A    %7D%0A
+    %0A    @Test%0A    public void defaultViewCal_success() %7B%0A        %0A        commandBox.runCommand(%22hist%22);%0A        assertResultMessage(ViewHistoryCommand.MESSAGE_SUCCESS);%0A        %0A        commandBox.runCommand(%22cal%22);%0A        assertResultMessage(ViewCalendarCommand.MESSAGE_SUCCESS);%0A    %7D%0A
 %7D%0A

add test