@@ -0,0 +1,1116 @@
+//@@author A0147984L%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.model.tag.Tag;%0A%0Apublic class TagTest %7B%0A%0A    @Test%0A    public void isValidTag() throws IllegalValueException %7B%0A        // invalid name%0A        assertFalse(Tag.isValidTagName(%22 %22)); // space only%0A        assertFalse(Tag.isValidTagName(%22cs 2103%22)); // contains space%0A        assertFalse(Tag.isValidTagName(%22*NUS*%22)); // contains non-alphanumeric%0A%0A        // valid name%0A        assertTrue(Tag.isValidTagName(%22%22)); // empty%0A        assertTrue(Tag.isValidTagName(%22personal%22)); // alphabets only%0A        assertTrue(Tag.isValidTagName(%222103%22)); // digits only%0A        assertTrue(Tag.isValidTagName(%22cs2103%22)); // alphabets and digits only%0A        assertTrue(Tag.isValidTagName(%22list%22)); // reserved word%0A%0A        // reserved word%0A        assertTrue(Tag.isReservedName(%22list%22)); // reserved word%0A        assertTrue(Tag.isReservedName(%22favorite%22)); // reserved word%0A    %7D%0A%7D%0A

test tag regex