@@ -0,0 +1,486 @@
+package org.psjava.algo.sort;%0D%0A%0D%0Aimport junit.framework.Assert;%0D%0A%0D%0Aimport org.psjava.ds.array.MutableArray;%0D%0Aimport org.psjava.ds.array.MutableArrayFromValues;%0D%0Aimport org.psjava.javautil.DefaultComparator;%0D%0A%0D%0Apublic class SortTestUtil %7B%0D%0A%0D%0A%09public static void testSimpleSort(Sort sort) %7B%0D%0A%09%09MutableArray%3CInteger%3E a = MutableArrayFromValues.create(2, 3, 1);%0D%0A%09%09sort.sort(a, new DefaultComparator%3CInteger%3E());%0D%0A%09%09Assert.assertEquals(MutableArrayFromValues.create(1, 2, 3), a);%0D%0A%09%7D%0D%0A%0D%0A%7D%0D%0A

add a test util.