@@ -0,0 +1,898 @@
+package seedu.address.model.task;%0A%0Aimport static org.junit.Assert.assertFalse;%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport org.junit.Test;%0A//@@author A0105287E%0Apublic class RecurrenceTest %7B%0A%0A    @Test%0A    public void isValidRecurrence() %7B%0A        // invalid%0A        assertFalse(Recurrence.isValidRecurrence(%22%22)); // empty string%0A        assertFalse(Recurrence.isValidRecurrence(%22 %22)); // spaces only%0A        assertFalse(Recurrence.isValidRecurrence(%22%5E%22)); // only non-alphanumeric characters%0A        assertFalse(Recurrence.isValidRecurrence(%22peter peter*%22)); // contains only alphabets characters%0A        assertFalse(Recurrence.isValidRecurrence(%22year 1%22));%0A%0A        // valid%0A        assertTrue(Recurrence.isValidRecurrence(%221 day%22)); //contains one number followed by one word%0A        assertTrue(Recurrence.isValidRecurrence(%223 years%22)); //contains one number followed by one word%0A    %7D%0A%0A%7D%0A

Add recurrence test