@@ -0,0 +1,2484 @@
+//@@author A0144885R%0Apackage seedu.address.model.task;%0A%0Aimport static org.junit.Assert.assertFalse;%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport org.junit.Test;%0A%0Aimport seedu.address.commons.exceptions.IllegalValueException;%0Aimport seedu.address.commons.util.DateUtil;%0A%0Apublic class DateUtilTest %7B%0A%0A    @Test%0A    public void isDeadlineMatch_DifferentTypes_False() %7B%0A        try %7B%0A            Deadline floating = new Deadline();%0A            // Task and event is still comparable%0A            Deadline task = new Deadline(%22today%22);%0A            Deadline event = new Deadline(%22from today to tomorrow%22);%0A%0A            assertFalse(DateUtil.isDeadlineMatch(floating, task));%0A            assertFalse(DateUtil.isDeadlineMatch(task, floating));  // Test if params order matters%0A            assertFalse(DateUtil.isDeadlineMatch(event, floating));%0A        %7D catch (IllegalValueException e) %7B%0A            assertTrue(false);%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void isDeadlineMatch_Normal_True() %7B%0A        try %7B%0A            // Floating%0A            Deadline floating1 = new Deadline();%0A            Deadline floating2 = new Deadline();%0A            assertTrue(DateUtil.isDeadlineMatch(floating1, floating2));%0A%0A            // Task%0A            Deadline task1 = new Deadline(%22the day after today%22);%0A            Deadline task2 = new Deadline(%22tomorrow%22);%0A            assertTrue(DateUtil.isDeadlineMatch(task1, task2));%0A%0A            // Event%0A            Deadline event1 = new Deadline(%22from today to tomorrow%22);%0A            Deadline event2 = new Deadline(%22from today to next monday%22);%0A            assertTrue(DateUtil.isDeadlineMatch(event1, event2));%0A%0A            // Task & event%0A            assertTrue(DateUtil.isDeadlineMatch(event1, task1));%0A        %7D catch (IllegalValueException e) %7B%0A            assertTrue(false);%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void isDeadlineMatch_Normal_False() %7B%0A        try %7B%0A            // Floating cannot be different%0A%0A            // Task%0A            Deadline task1 = new Deadline(%22the day after today%22);%0A            Deadline task2 = new Deadline(%22the day before today%22);%0A            assertFalse(DateUtil.isDeadlineMatch(task1, task2));%0A%0A            // Event%0A            Deadline event1 = new Deadline(%22from today to tomorrow%22);%0A            Deadline event2 = new Deadline(%22from 10-3-1997 to 20-3-2007%22);%0A            assertFalse(DateUtil.isDeadlineMatch(event1, event2));%0A        %7D catch (IllegalValueException e) %7B%0A            assertTrue(false);%0A        %7D%0A    %7D%0A%7D%0A

Add test for DateUtil