@@ -0,0 +1,806 @@
+//@author: A0138848M%0Apackage seedu.oneline.model.task;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport seedu.oneline.testutil.TestDataHelper;%0A%0Apublic class TaskTest %7B%0A    Task taskDate0;%0A    Task taskDate1;%0A    Task taskNameA;%0A    Task taskNameB;%0A    %0A    @Before%0A    public void setUp() throws Exception %7B%0A        taskDate0 = TestDataHelper.generateTask(0);%0A        taskDate1 = TestDataHelper.generateTask(1);%0A        taskNameA = TestDataHelper.generateTaskWithName(%22A%22);%0A        taskNameB = TestDataHelper.generateTaskWithName(%22B%22);%0A    %7D%0A%0A    @Test%0A    public void task_sortsByDate() %7B%0A        assertTrue(taskDate0.compareTo(taskDate1) %3C 0);%0A    %7D%0A%0A    @Test%0A    public void task_sortsByName() %7B%0A        assertTrue(taskNameA.compareTo(taskNameB) %3C 0);%0A    %7D%0A%7D%0A

Add initial test cases for task sorting