import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;

import static org.testng.Assert.*;

/**
 * Created by OOussema on 02/10/2016.
 */
public class Point3DTest {
    @BeforeMethod
    public void setUp() throws Exception {

    }

    @AfterMethod
    public void tearDown() throws Exception {

    }

    @Test(enabled = false)
    public void testGetZ() throws Exception {

    }

    @Test(enabled = false)
    public void testSetZ() throws Exception {

    }

    @Test(enabled = false)
    public void testTranslate() throws Exception {

    }

    @Test(enabled = false)
    public void testIsOrigin() throws Exception {

    }

    @Test(enabled = false)
    public void testDistance() throws Exception {

    }

    @Test
    public void testToString() throws Exception {
        Point3D p1 = new Point3D(3,3,3);
        System.out.println(p1.toString());
    }

    @Test
    public void testAffiche() throws Exception {
        Point3D p1 = new Point3D(3,3,3);
        p1.affiche();
    }

    @Test
    public void testEquals() throws Exception {
        Point3D p1 = new Point3D(3,3,3);
        Point3D p2 = new Point3D(3,3,3);

        assertEquals(true, p1.equals(p2));
    }

}
@@ -375,33 +375,16 @@
    @Test
-(enabled = false)
 %0A    pub
@@ -426,42 +426,114 @@
 n %7B%0A
-%0A
     
-%7D%0A%0A
     
-@Test(enabled = false)
+Point3D point3D = new Point3D(2,2,8);%0A        assertEquals(point3D.getZ(),8,0.0);%0A    %7D%0A%0A    @Test
 %0A   
@@ -579,42 +579,141 @@
 n %7B%0A
-%0A
     
-%7D%0A%0A    @Test(enabled = false)
+    Point3D point3D = new Point3D(2,2,8);%0A        point3D.setZ(10);%0A        assertEquals(point3D.getZ(),10,0.0);%0A    %7D%0A%0A    @Test
 %0A   

Test sur Point3D : setteur et getteur sur le point Z