@@ -0,0 +1,526 @@
+package ru.job4j;%0A%0Aimport org.junit.Test;%0Aimport java.io.ByteArrayOutputStream;%0Aimport java.io.PrintStream;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A%0Apublic class TriangleTest %7B%0A%0A%0A%0A%0A%0Apublic class TriangleTest %7B%0A    @Test%0A    public void whenAddDataThanShowArea() %7B%0A        Point a = new Point(15d,10d);%0A        Point b = new Point(10d,5d);%0A        Point c = new Point(0d,10d);%0A        Triangle triangle = new Triangle(a,b,c);%0A        assertThat(triangle.area(), is(0d));%0A    %7D%0A%0A    %0A%7D

add triangletest.java