@@ -0,0 +1,468 @@
+package ru.matevosyan;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.*;%0A%0Apublic class PointTest %7B%0A%0A%09@Test%0A%09public void whenAddTwoPointsThenReturnPointsDistance() %7B%0A%09%09%0A%09%09//assign%0A%0A%09%09Point pointTestFirst = new Point(1.0,1.0);%0A%09%09Point pointTestSecond = new Point(2.0,2.0);%0A%09%09%0A%09%09//act 1.4142135623730951%0A%0A%09%09double result = pointTestSecond.distanceTo(pointTestFirst);%0A%09%09assertThat(result, is(1.4142135623730951d));%0A%09%09%0A%0A%09%7D%0A%09%0A%7D

add PointTest.java