@@ -0,0 +1,571 @@
+package ru.study.sandbox;%0A%0Aimport org.testng.Assert;%0Aimport org.testng.annotations.Test;%0A%0A/**%0A * Created by %D0%90%D0%BD%D0%B4%D1%80%D0%B5%D0%B9 on 24.10.2016.%0A */%0Apublic class DistanceBetweenTwoPoints %7B%0A    @Test%0A    public void distanceBetweenTwoSamePoints() %7B%0A        Point p1 = new Point(-5, 0);%0A        Point p2 = new Point(-5, 0);%0A        Assert.assertEquals(p1.distance(p1, p2), 0.0);%0A    %7D%0A%0A    @Test%0A    public void distanceBetweenTwoAnotherPoints() %7B%0A        Point p1 = new Point(0, 0);%0A        Point p2 = new Point(0, 100);%0A        Assert.assertEquals(p1.distance(p1, p2), 100.0);%0A    %7D%0A%0A%7D%0A

add tests distance between two points