@@ -0,0 +1,722 @@
+package ru.matevosyan;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.*;%0A%0Apublic class TriangleTest %7B%0A%0A%09@Test%0A%09public void whenAddThreeParametersThenReturnOneArea() %7B%0A%09%09//------assign%0A%0A%09%09Point pointA = new Point(1.0,10.0);%0A%09%09Point pointB = new Point(2.0,2.0);%0A%09%09Point pointC = new Point(4.0,4.0);%0A%09%09%0A%09%09%0A%09%09Triangle triag = new Triangle(pointA, pointB, pointC);%0A%09%09%0A%0A %0A%0A%0A%09%09//------act%0A%0A%09%09//6.708203932499369  from Point(1,10) to POINT(4,4)%0A%09%09//8.06225774829855  from Point(1,10) to POINT(2,2)%0A%09%09//2.8284271247461903  from Point(2,2) to POINT(4,4)%0A%0A%09%09//result should be 8.999999999999993%0A%0A%09%09double result = triag.area();%0A%09%09assertThat(result, is(8.999999999999993));%0A%0A%09%09%0A%09%09%0A%09%7D%0A%09%0A%7D

add TriangleTest.java