@@ -0,0 +1,1024 @@
+package ru.stqa.pft.sandbox;%0A%0Aimport org.testng.Assert;%0Aimport org.testng.annotations.Test;%0A%0A/**%0A * Created by Golem on 18.03.2017.%0A */%0Apublic class PointTests %7B%0A%0A    @Test%0A    public void test1()%7B%0A%0A        Point p1 = new Point(0,0);%0A        Point p2 = new Point(0,0);%0A        Assert.assertEquals(p1.distance(p2),0.0);%0A    %7D%0A    @Test%0A     public void test2()%7B%0A        Point p1 = new Point(0,1);%0A        Point p2 = new Point(0,4);%0A       Assert.assertEquals(p1.distance(p2),3.0);%0A    %7D%0A    @Test%0A     public void test3()%7B%0A        Point p1 = new Point(1,1);%0A        Point p2 = new Point(-1,-1);%0A       Assert.assertEquals(p1.distance(p2),2.8284271247461903);%0A    %7D%0A    @Test%0A     public void test4()%7B%0A        Point p1 = new Point(-1,1);%0A        Point p2 = new Point(1,-1);%0A       Assert.assertEquals(p1.distance(p2),2.8284271247461903);%0A    %7D%0A    @Test%0A     public void test5()%7B%0A        Point p1 = new Point(-7,-7);%0A        Point p2 = new Point(0,0);%0A       Assert.assertEquals(p1.distance(p2),9.899494936611665);%0A    %7D%0A%0A%0A%0A%7D%0A

hometask_№3