@@ -0,0 +1,958 @@
+package seedu.address.model.task;%0A%0Aimport static org.junit.Assert.assertFalse;%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport org.junit.Test;%0A%0Apublic class TitleTest %7B%0A%0A    @Test%0A    public void isValidContent() %7B%0A        // invalid name%0A        assertFalse(Title.isValidTitle(%22%22)); // empty string%0A        assertFalse(Title.isValidTitle(%22 %22)); // spaces only%0A        assertFalse(Title.isValidTitle(%22%5E%22)); // only non-alphanumeric characters%0A        assertFalse(Title.isValidTitle(%22meeting*%22)); // contains non-alphanumeric characters%0A%0A        // valid name%0A        assertTrue(Title.isValidTitle(%22peter jack%22)); // alphabets only%0A        assertTrue(Title.isValidTitle(%2212345%22)); // numbers only%0A        assertTrue(Title.isValidTitle(%22peter the 2nd%22)); // alphanumeric characters%0A        assertTrue(Title.isValidTitle(%22Capital Tan%22)); // with capital letters%0A        assertTrue(Title.isValidTitle(%22David Roger Jackson Ray Jr 2nd%22)); // long names%0A    %7D%0A%7D%0A

add title test