@@ -0,0 +1,1041 @@
+import org.junit.*;%0Aimport org.junit.Test;%0Aimport static org.junit.Assert.*;%0A%0Apublic class CoordinateTest%7B%0A%0A    Coordinate pointA;%0A    Coordinate pointB;%0A    Coordinate pointC;%0A    Coordinate pointD;%0A%0A    @Before public void setUp() %7B%0A        pointA = new Coordinate(1,2);%0A        pointB = new Coordinate(0,-4);%0A        pointC = new Coordinate(1,3);%0A        pointD = new Coordinate(1,2);%0A    %7D%0A    %0A    @After public void tearDown() %7B%0A        pointA = null;%0A        pointB = null;%0A        pointC = null;%0A        pointD = null;%0A    %7D%0A    %0A    @Test%0A    public void testEquals() %7B%0A        assertTrue(pointA.equals(pointD));%0A        assertFalse(pointA.equals(pointB));%0A        assertFalse(pointA.equals(pointC));%0A    %7D%0A%0A    @Test%0A    public void testGetters() %7B%0A        assertEquals(1,pointA.getXVal());%0A        assertEquals(2,pointA.getYVal());%0A    %7D%0A%0A    @Test%0A    public void testSetters() %7B%0A        pointA.setXVal(7);%0A        assertEquals(7,pointA.getXVal());%0A%0A        pointA.setYVal(6);%0A        assertEquals(6,pointA.getYVal());%0A    %7D%0A%0A%0A%0A%7D

Add test for Coordinate