public void Test08_ToIntSelectionSort_Descending2() { string testStringEasy = "abcdefg"; string methodAnswer = SortedString.ToIntSelectionSort(testStringEasy, false); Assert.AreEqual("gfedcba", methodAnswer); }
public void Test12_InsertionSort_Descending() { string methodAnswer = SortedString.InsertionSort(stringToSort, false); Assert.AreEqual(correctAnswerDescending, methodAnswer); }
public void Test11_InsertionSort_Ascending() { string methodAnswer = SortedString.InsertionSort(stringToSort, true); Assert.AreEqual(correctAnswerAscending, methodAnswer); }
public void Test09_GnomeSort_Ascending() { string methodAnswer = SortedString.GnomeSort(stringToSort, true); Assert.AreEqual(correctAnswerAscending, methodAnswer); }
public void Test05_CharArraySort_Descending() { string methodAnswer = SortedString.CharArraySort(stringToSort, false); Assert.AreEqual(correctAnswerDescending, methodAnswer); }
public void Test04_CharArraySort_Ascending() { string methodAnswer = SortedString.CharArraySort(stringToSort, true); Assert.AreEqual(correctAnswerAscending, methodAnswer); }
public void Test03_BubbleSort_Descending() { string methodAnswer = SortedString.BubbleSort(stringToSort, false); Assert.AreEqual(correctAnswerDescending, methodAnswer); }