示例#1
0
 @Test
 public void sorterReturns2IfInOrder() {
   assertEquals(1, sorter.sortCharacterArray(array1, array2));
 }
示例#2
0
 @Test
 public void sorterReturns1IfOutOfOrder() {
   assertEquals(-1, sorter.sortCharacterArray(array2, array1));
 }
示例#3
0
 @Test
 public void sorterReturns0IfEqual() {
   assertEquals(0, sorter.sortCharacterArray(array2, array3));
 }