@@ -0,0 +1,796 @@
+package ru.job4j;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A/**.%0A* Chapter_002%0A* Test for task 5.4%0A*%0A* @author Anton Vasilyuk%0A* @version 1.0%0A* @since 0.1%0A*/%0A%0Apublic class ShapeTest %7B%0A%0A%09/**.%0A%09* Test method pic for square%0A%09*/%0A%09@Test%0A%09public void whenNeedBuildSquareThenWeBuildSquare() %7B%0A%09%09int height = 3;%0A%09%09Square square = new Square(height);%0A%09%09String fact = square.pic();%0A%09%09String expect = %22w w w %5Cnw w w %5Cnw w w %5Cn%22;%0A%09%09assertThat(fact, is(expect));%0A%09%7D%0A%0A%09/**.%0A%09* Test method pic for triangle%0A%09*/%0A%09@Test%0A%09public void whenNeedBuildTriangleThenWeBuildTriangle() %7B%0A%09%09int height = 3;%0A%09%09Triangle triangle = new Triangle(height);%0A%09%09String fact = triangle.pic();%0A%09%09String expect = %22w %5Cnw w %5Cnw w w %5Cn%22;%0A%09%09assertThat(fact, is(expect));%0A%09%7D %0A%7D

add file for chapter_002_2.5.4