@@ -0,0 +1,1032 @@
+package com.test.sorting;%0A%0Aimport com.sorting.SelectionSort;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class TestSelectionSort extends TestCase %7B%0A%0A    public void testSelectionSort() %7B%0A%0A        String%5B%5D A = %7B %22zs%22, %22qw%22, %22qr%22, %22miguel%22, %22rtd%22, %22fgs%22, %22qq%22, %22mk%22, %22slao%22, %22oiu%22, %22vf%22, %22xs%22, %22er%22, %22qw%22,%0A                %22bv%22 %7D;%0A        Integer%5B%5D B = %7B 2, 4, 7, 542, 0, 1, 3, 0, 6, 2, 7, 9, 10, 2, 4, 6, 0, 3, 2, 9, 2, 77, 33, 22, 5, 4, 2, 2, 2 %7D;%0A%0A        SelectionSort.sort(A);%0A        SelectionSort.sort(B);%0A%0A        String%5B%5D sortedA = %7B %22bv%22, %22er%22, %22fgs%22, %22miguel%22, %22mk%22, %22oiu%22, %22qq%22, %22qr%22, %22qw%22, %22qw%22, %22rtd%22, %22slao%22, %22vf%22,%0A                %22xs%22, %22zs%22 %7D;%0A        Integer%5B%5D sortedB = %7B 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 4, 4, 4, 5, 6, 6, 7, 7, 9, 9, 10, 22, 33, 77,%0A                542 %7D;%0A%0A        for (int i = 0; i %3C A.length; i++) %7B%0A            assertEquals(true, A%5Bi%5D.equals(sortedA%5Bi%5D));%0A        %7D%0A%0A        for (int i = 0; i %3C B.length; i++) %7B%0A            assertEquals(true, B%5Bi%5D.equals(sortedB%5Bi%5D));%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Add JUnit test for SelectionSort