@@ -0,0 +1,1105 @@
+package ru.sbulygin;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A%0A/**%0A* Test.%0A*%0A* @author Sergey Bulygin (sergteletrade@gmail.com).%0A* @version 1.0.%0A* @since 06.12.2016.%0A*/%0A%0A/**%0A * Test class for class Turn.%0A */%0Apublic class TurnTest %7B%0A%0A    /**%0A    * Testing method bsck() accepts an array with even length.%0A    */%0A    @Test%0A    public void whenArrayAnEvenLengthThenArrayInvert() %7B%0A        final Turn testArr = new Turn();%0A        final int%5B%5D tempArray = %7B1, 2, 3, 4, 5, 6%7D;%0A        final int%5B%5D result = testArr.back(tempArray);%0A        final int%5B%5D expectResult = %7B6, 5, 4, 3, 2, 1%7D;%0A        assertThat(result, is(expectResult));%0A    %7D%0A%0A     /**%0A    * Testing method bsck() accepts an array with odd length.%0A    */%0A    @Test%0A    public void whenArrayAnOddLengthThenArrayInvert() %7B%0A        final Turn testArr = new Turn();%0A        final int%5B%5D tempArray = %7B1, 2, 3, 4, 5, 6, 7%7D;%0A        final int%5B%5D result = testArr.back(tempArray);%0A        final int%5B%5D expectResult = %7B7, 6, 5, 4, 3, 2, 1%7D;%0A        assertThat(result, is(expectResult));%0A    %7D%0A %7D

add TurnTest