@@ -0,0 +1,1757 @@
+//@@author A0147984L%0Apackage seedu.address.model.task;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport java.util.Set;%0A//@@author A0143049J%0Aimport org.junit.Test;%0A%0Aimport seedu.address.commons.exceptions.IllegalValueException;%0Aimport seedu.address.model.tag.Tag;%0Aimport seedu.address.model.tag.UniqueTagList;%0Aimport seedu.address.model.tag.UniqueTagList.DuplicateTagException;%0Aimport seedu.address.testutil.TypicalTestTasks;%0A%0Apublic class UniqueTagListTest %7B%0A%0A    private UniqueTagList tester = new UniqueTagList();%0A    private final TypicalTestTasks testUtil = new TypicalTestTasks();%0A%0A    @Test%0A    public void sort() throws DuplicateTagException, IllegalValueException %7B%0A        Tag tag1 = new Tag(%22abc%22);%0A        Tag tag2 = new Tag(%22test%22);%0A        tester.add(tag1);%0A        tester.add(tag2);%0A%0A        tester.sort();%0A        %0A        Set%3CTag%3E tags = tester.toSet();%0A%0A        assertTrue(tags.contains(tag1));%0A        assertTrue(tags.contains(tag2));%0A    %7D%0A    %0A    @Test%0A    public void constructorTest() throws DuplicateTagException, IllegalValueException %7B%0A        Tag tag1 = new Tag(%22abc%22);%0A        Tag tag2 = new Tag(%22test%22);%0A        tester = new UniqueTagList(tag1, tag2);%0A        Set%3CTag%3E tags1 = tester.toSet();%0A%0A        assertTrue(tags1.contains(tag1));%0A        assertTrue(tags1.contains(tag2));%0A        %0A        UniqueTagList newTester = new UniqueTagList(tester);%0A        Set%3CTag%3E tags2 = newTester.toSet();%0A%0A        assertTrue(tags2.contains(tag1));%0A        assertTrue(tags2.contains(tag2));%0A        UniqueTagList newNewTester = new UniqueTagList(tags2);%0A        Set%3CTag%3E tags3 = newNewTester.toSet();%0A%0A        assertTrue(tags3.contains(tag1));%0A        assertTrue(tags3.contains(tag2));%0A    %7D%0A%7D%0A

Add UniqueTagListTest