@@ -0,0 +1,502 @@
+package ru.matevosyan.lesson_5_Array;%0A%0Aimport static org.junit.Assert.*;%0Aimport static org.hamcrest.core.Is.is;%0Aimport org.junit.Test;%0A%0Apublic class ArrayRotateTest %7B%0A%0A%09@Test%0A%09public void whenArrayIsAssignThenRotateIt()%7B%0A%0A%09%09//assign%0A%09%09int%5B%5D%5B%5D mas = %7B%7B1,2,3,4%7D,%7B5,6,7,8%7D,%7B9,10,11,12%7D,%7B13,14,15,16%7D%7D;%0A%09%09int%5B%5D%5B%5D masrotate = %7B%7B13,9,5,1%7D,%7B14,10,6,2%7D,%7B15,11,7,3%7D,%7B16,12,8,4%7D%7D;%0A%09%09ArrayRotate arr = new ArrayRotate();%0A%09%09int%5B%5D%5B%5D ar = arr.rotateMatrix(mas);%0A%09%09%0A%09%09//act%0A%09%09assertThat(ar, is(masrotate));%0A%0A%09%0A%0A%0A%09%7D%0A%0A%7D

add ArrayRotateTest.java