@@ -0,0 +1,883 @@
+package ru.stqa.pft.sandbox;%0A%0Aimport org.testng.Assert;%0Aimport org.testng.annotations.Test;%0A%0A/**%0A * Created by gis on 30.10.2016.%0A */%0Apublic class PointTests %7B%0A%0A    @Test%0A    public void testDistance() %7B%0A        Point a = new Point(1, 1);%0A        Assert.assertEquals(a.distance(a), 0.0);%0A        Assert.assertEquals(Point.distance(a, a), 0.0);%0A%0A        Point b = new Point(-2, -3);%0A        Assert.assertEquals(a.distance(b), 5.0);%0A        Assert.assertEquals(Point.distance(a, b), 5.0);%0A%0A        Point c = new Point(1, -2);%0A        Assert.assertEquals(a.distance(c), 3.0);%0A        Assert.assertEquals(Point.distance(a, c), 3.0);%0A%0A        Point d = new Point(-5, 2);%0A        Point e = new Point(-6, 1);%0A        double distanceEtoD = 1.4142135623730951;%0A        Assert.assertEquals(d.distance(e), distanceEtoD);%0A        Assert.assertEquals(Point.distance(d, e), distanceEtoD);%0A    %7D%0A%7D%0A

add class PointTests & test method testDistance()