package ru.job4j.condition;

import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;

/**
 * Test.
 *
 * @author Anastasia Pavlova (mailto:a-pavlova-1986@yandex.ru)
 * @version $Id$
 * @since 0.1
 */

public class TriangleTest {
    /**
     * класс для тестирования калькулятора.
     */
    @Test

/**.
 * Метод, проверяющий принадлежность точки прямой.
 */
    public void forCheckAreaTriangle() {
        Triangle abc = new Triangle();
        abc.area(1, 3, 10, 10, 3, 3);
        double result = 24.5;
        boolean expected = true;
        assertThat(result, is(expected));
    }

}


@@ -489,16 +489,32 @@
 %0A       
+ double result =
  abc.are
@@ -555,39 +555,8 @@
 ble 
-result = 24.5;%0A        boolean 
 expe
@@ -566,12 +566,12 @@
 d = 
-true
+24.5
 ;%0A  
@@ -614,14 +614,13 @@
 ));%0A
+
     %7D%0A
-%0A
 %7D%0A%0A

add maven