@@ -0,0 +1,371 @@
+package ru.ematveev.square;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.*;%0Aimport static org.hamcrest.number.IsCloseTo.closeTo;%0A%0A%0Apublic class SquareTest%7B%0A%0A%09@Test%0A%09public void calculate()%7B%0A%0A%09%09Square square = new Square(2, 3, 4);%0A%09%09%0A%09%09double result = square.calculate(2);%0A%0A%09%09assertThat(result, closeTo(18d, 0.001));%0A%0A%09%7D%0A%0A%7D

add file SquareTest.java