@@ -0,0 +1,1636 @@
+package seedu.address.model.task;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertFalse;%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Apublic class FloatingTaskTest %7B%0A    private FloatingTask floatingTask;%0A%0A    @Before%0A    public void setupFloatingTask() throws Exception %7B%0A        final Name name = new Name(%22Floating Task Name%22);%0A        final Priority priority = new Priority(%223%22);%0A        floatingTask = new FloatingTask(name, priority);%0A    %7D%0A%0A    @Test%0A    public void getPriority_returnsDue() throws Exception %7B%0A        final Priority expected = new Priority(%223%22);%0A        final Priority actual = floatingTask.getPriority();%0A        assertEquals(expected, actual);%0A    %7D%0A%0A    @Test%0A    public void equals_isEqual_returnsTrue() throws Exception %7B%0A        final FloatingTask other = new FloatingTask(%22Floating Task Name%22, new Priority(%223%22));%0A        assertTrue(floatingTask.equals(other));%0A        assertTrue(floatingTask.hashCode() == other.hashCode());%0A    %7D%0A%0A    @Test%0A    public void equals_notEqual_returnsFalse() throws Exception %7B%0A        final FloatingTask other = new FloatingTask(new Name(%22Floating Task Name%22), new Priority(%221%22));%0A        assertFalse(floatingTask.equals(other));%0A        assertFalse(floatingTask.hashCode() == other.hashCode());%0A    %7D%0A%0A    @Test%0A    public void toString_returnsCorrectFormat() %7B%0A        final String expected = %22FloatingTask%5Bname=Floating Task Name, %22%0A                                + %22priority=3%5D%22;%0A        final String actual = floatingTask.toString();%0A        assertEquals(expected, actual);%0A    %7D%0A%7D%0A

implement FloatingTaskTest