@@ -0,0 +1,649 @@
+import org.testng.annotations.AfterMethod;%0Aimport org.testng.annotations.BeforeMethod;%0Aimport org.testng.annotations.Test;%0A%0Aimport static org.testng.Assert.*;%0A%0A/**%0A * Created by nadia on 02/10/2016.%0A */%0Apublic class SquareTest %7B%0A    Square s ;%0A    @BeforeMethod%0A    public void setUp() throws Exception %7B%0A    %7D%0A%0A    @AfterMethod%0A    public void tearDown() throws Exception %7B%0A    %7D%0A%0A    @Test%0A    public void testPerimeter() throws Exception %7B%0A       s= new Square(1);%0A        assertEquals(4.0,s.perimeter());%0A    %7D%0A%0A    @Test%0A    public void testSurface() throws Exception %7B%0A        s= new Square(2);%0A        assertEquals(4.0,s.surface());%0A    %7D%0A%0A%0A%7D

ADD TEST OF SQUARE