package ru.ematveev.square;

import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.*;
import static org.hamcrest.number.IsCloseTo.closeTo;


public class SquareTest{

	@Test
	public void calculate(){

		Square square = new Square(2, 3, 4);
		
		double result = square.calculate(2);

		assertThat(result, closeTo(18d, 0.001));

	}

}
@@ -232,17 +232,16 @@
 late()%7B%0A
-%0A
 %09%09Square
@@ -275,11 +275,8 @@
 4);%0A
-%09%09%0A
 %09%09do
@@ -310,17 +310,16 @@
 ate(2);%0A
-%0A
 %09%09assert
@@ -357,10 +357,8 @@
 ));%0A
-%0A
 %09%7D%0A
-%0A
 %7D

change Squaretest.java