@@ -0,0 +1,523 @@
+package array;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.*;%0A%0A%0Apublic class BubleSortTest %7B%0A    @Test%0A    public void whenEnterArraythenOutSortArray()  %7B%0A%0A        BubleSort sort = new BubleSort();%0A        int %5B%5D testarray= new int%5B7%5D;%0A            for (int i =0; i%3C=testarray.length-1;i++)%7B%0A            testarray%5Bi%5D=(int) (Math. random()*30);%0A%0A            %7D%0A        int %5B%5D expectedarray= sort.sort(testarray);%0A            assertThat(expectedarray, is (testarray));%0A    %7D%0A%0A%7D

test buble