@@ -0,0 +1,761 @@
+package by.vorokhobko;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A/**%0A* PaintTest.%0A*%0A* Class PaintTest for testing class Paint part 001, lesson 4.%0A* @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).%0A* @since 10.12.2016.%0A* @version 1.%0A*/%0A%0Apublic class PaintTest %7B%0A%09/**%0A%09* @Test.%0A%09* The method draws a pyramid in pseudographics.%0A%09*/%0A%09@Test%0A%09public void drawingOfThePyramidInPseudographics() %7B%0A%09%09final Paint paint = new Paint();%0A%09%09final int h = 3;%0A%09%09String outPrint = %22    %5E %22 + System.getProperty(%22line.separator%22) + %22   %5E %5E %22 + System.getProperty(%22line.separator%22) + %22  %5E %5E %5E %22 + System.getProperty(%22line.separator%22);%0A%09%09String result = paint.pyramid(h);%0A%09%09assertThat(result, is(outPrint));%0A%09%7D%0A%7D

add class PaintTest