@@ -0,0 +1,974 @@
+package ru.sbulygin;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A/**%0A* Test.%0A*%0A* @author Sergey Bulygin (sergteletrade@gmail.com).%0A* @version 1.0.%0A* @since 29.11.2016.%0A*/%0Apublic class PaintTest %7B%0A%0A    /**%0A    * %D0%A2%D0%B5%D1%81%D1%82 %D0%B4%D0%BB%D1%8F %D0%BA%D0%BB%D0%B0%D1%81%D1%81%D0%B0 Paint.%0A    * %D0%97%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5 height = 3.%0A    * %D0%A2%D0%B5%D1%81%D1%82 %D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D0%B0 pyramid .%0A    */%0A    @Test%0A    public void whenHeightTreeThenCreatePiramid() %7B%0A        Paint pyramid = new Paint();%0A        final String result = pyramid.pyramid(3);%0A        String expectResult = (%22   %5E   %5Cr%5Cn  %5E %5E  %5Cr%5Cn %5E %5E %5E %5Cr%5Cn%22);%0A        assertThat(result, is(expectResult));%0A    %7D%0A%0A    /**%0A    * %D0%A2%D0%B5%D1%81%D1%82 %D0%B4%D0%BB%D1%8F %D0%BA%D0%BB%D0%B0%D1%81%D1%81%D0%B0 Paint.%0A    * %D0%97%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5 height = 1.%0A    * %D0%A2%D0%B5%D1%81%D1%82 %D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D0%B0 pyramid .%0A    */%0A    @Test%0A    public void whenHeightOneThenCreatePiramid() %7B%0A        Paint pyramid = new Paint();%0A        final String result = pyramid.pyramid(1);%0A        String expectResult = (%22 %5E %5Cr%5Cn%22);%0A        assertThat(result, is(expectResult));%0A    %7D%0A %7D

add PaintTest