Beispiel #1
0
 public void HeapSort_InputStringArray_AscendingOrder()
 {
     string[] s = { "S", "O", "R", "T", "E", "X", "A", "M", "P", "L", "E" };
     HeapSort.sort(s);
     UnityEngine.Debug.Log(s);
     Assert.True(BaseSort.isSorted(s));
 }
Beispiel #2
0
 public void sort_InputStringArray_AscendingOrder()
 {
     string[] s = { "S", "O", "R", "T", "E", "X", "A", "M", "P", "L", "E" };
     Shell.sort(s);
     Assert.True(BaseSort.isSorted(s));
 }
Beispiel #3
0
 public void MergeBottomUpSort_InputStringArray_AscendingOrder()
 {
     string[] s = { "S", "O", "R", "T", "E", "X", "A", "M", "P", "L", "E" };
     Merge_BottomUp.sort(s);
     Assert.True(BaseSort.isSorted(s));
 }