@@ -0,0 +1,1368 @@
+%0Apackage seedu.todo.model.qualifiers;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport java.time.LocalDateTime;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport javafx.collections.transformation.FilteredList;%0Aimport seedu.todo.model.DoDoBird;%0Aimport seedu.todo.model.expressions.PredicateExpression;%0Aimport seedu.todo.model.task.Task;%0Aimport seedu.todo.testutil.TestDataHelper;%0A%0A%0A//@@author A0138967J%0A/**%0A * Test class for WeekDateQualifier used in model when searching%0A * for tasks that fall in the next 7 days, and deciding whether to include it in the next 7 days%0A * list%0A */%0Apublic class WeekQualifierTest %7B%0A    %0A    private TestDataHelper helper;%0A    private DoDoBird ddb;%0A    private WeekDateQualifier wdq;%0A    %0A    @Before%0A    public void setup() %7B%0A        helper = new TestDataHelper();%0A        ddb = new DoDoBird();%0A        wdq = new WeekDateQualifier(LocalDateTime.now());%0A    %7D%0A    %0A    @Test%0A    public void weekQualifer_test() throws Exception %7B%0A        FilteredList%3CTask%3E weekTasks = new FilteredList%3C%3E(ddb.getTasks());%0A        %0A        Task tmrTask = helper.generateFullTaskTmr(0);%0A        ddb.addTask(tmrTask);%0A        weekTasks.setPredicate((new PredicateExpression(%0A                new WeekDateQualifier(LocalDateTime.now()))::satisfies));%0A        assertEquals(weekTasks.size(), 1);%0A        assertEquals(wdq.run(tmrTask), true);%0A    %7D%0A%7D%0A

add WeekQualifierTest