@@ -0,0 +1,369 @@
+package task4_1;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.*;%0A%0A%0Apublic class SquareTest %7B%0A%09%0A%09@Test%0A%09public void whenCalculate()%7B%0A%09%09%0A%09%09Square sq = new Square(-1.0f, 2.0f, 3.0f);%0A%09%09%0A        float checked = -32.0f;%0A%09%09%09%0A        float result = sq.calculate(-5);%0A        %0A%09%09assertThat(result, is(checked));%0A        %0A%09%7D%0A%09%0A%7D

add SquareTest.java