@@ -0,0 +1,975 @@
+import static org.testng.Assert.*;%0A%0A/**%0A * Created by nadia on 02/10/2016.%0A */%0Apublic class Point3DTest %7B%0A%0A    Point3D p ;%0A    @org.testng.annotations.BeforeMethod%0A    public void setUp() throws Exception %7B%0A%0A    %7D%0A%0A    @org.testng.annotations.AfterMethod%0A    public void tearDown() throws Exception %7B%0A%0A    %7D%0A%0A    @org.testng.annotations.Test%0A    public void testTranslate() throws Exception %7B%0A        p=new Point3D(1,1,1);%0A        p.translate(0,0);%0A        assertEquals(1.0,p.getX());%0A        assertEquals(1.0,p.getY());%0A        assertEquals(1.0,p.getZ());%0A    %7D%0A%0A    @org.testng.annotations.Test%0A    public void testIsOrigin() throws Exception %7B%0A         p=new Point3D(0,0,0);%0A        p.IsOrigin();%0A        assertEquals(true,p.IsOrigin());%0A    %7D%0A%0A    @org.testng.annotations.Test%0A    public void testDistance() throws Exception %7B%0A         p=new Point3D(1,1,1);%0A       Point3D  p1=new Point3D(1,1,1);%0A        p.distance(p1);%0A        assertEquals(0.0,p.distance(p1));%0A    %7D%0A%0A%7D

ADD THE TEST OF Point3D