package vkaretko.Task_3_2;

import org.junit.Test;
import vkaretko.Task_3_1.Point;

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

/**
 * Тест-класс для класса MaxSide
 *
 * @author Karetko Victor
 * @version 1.00
 * @since 30.10.2016
 */
public class MaxSideTest {
    @Test
    public void whenAddThreePointsLengthOfMaxSideIsTwenty() {
        Point a = new Point(0d,0d);
        Point b = new Point(20d,0d);
        Point c = new Point(10d,10d);
        MaxSide maxSide = new MaxSide();
        assertThat(maxSide.max(a,b,c), is(20d));
    }
}

@@ -371,119 +371,8 @@
 ) %7B%0A
-        Point a = new Point(0d,0d);%0A        Point b = new Point(20d,0d);%0A        Point c = new Point(10d,10d);%0A
     
@@ -443,13 +443,19 @@
 max(
-a,b,c
+10d,20d,15d
 ), i

Update MaxSideTest.java