@@ -0,0 +1,1575 @@
+package computecore;%0A%0Aimport org.junit.Test;%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class PointsTest %7B%0A%0A    @Test%0A    public final void test_addPoint_getPointLat_getPointLon() %7B%0A        Points p = new Points();%0A        p.addPoint(1,2);%0A        p.addPoint(2,3);%0A        p.addPoint(4,5);%0A        assertEquals(p.getPointLat(0), 1);%0A        assertEquals(p.getPointLat(1), 2);%0A        assertEquals(p.getPointLat(2), 4);%0A        assertEquals(p.getPointLon(0), 2);%0A        assertEquals(p.getPointLon(1), 3);%0A        assertEquals(p.getPointLon(2), 5);%0A    %7D%0A%0A    @Test%0A    public final void testsetPointLat() %7B%0A        Points p = new Points();%0A        p.addPoint(1, 2);%0A        p.addPoint(2, 3);%0A        p.addPoint(4, 5);%0A        p.setPointLat(1, 6);%0A        assertEquals(p.getPointLat(1), 6);%0A        p.setPointLat(2, 7);%0A        p.setPointLat(0, 4);%0A        assertEquals(p.getPointLat(2), 7);%0A        assertEquals(p.getPointLat(0), 4);%0A    %7D%0A%0A    @Test%0A    public final void testsetPointLon() %7B%0A        Points p = new Points();%0A        p.addPoint(1, 2);%0A        p.addPoint(2, 3);%0A        p.addPoint(4, 5);%0A        p.setPointLon(1, 6);%0A        assertEquals(p.getPointLon(1), 6);%0A        p.setPointLon(2, 7);%0A        p.setPointLon(0, 4);%0A        assertEquals(p.getPointLon(2), 7);%0A        assertEquals(p.getPointLon(0), 4);%0A    %7D%0A    %0A    @Test%0A    public final void testsize() %7B%0A        Points p = new Points();%0A        p.addPoint(1, 2);%0A        assertEquals(p.size(), 1);%0A        p.addPoint(2, 3);%0A        p.addPoint(4, 5);%0A        assertEquals(p.size(), 3);%0A    %7D%0A%7D%0A

add junittest