public void ArraySort2SelectionSortCompleteTestSimpleOdd() { var nums = new List <int> { 56, 3, 7, 23, 5, 8, 38 }; ArraySort2SelectionSortComplete.Sort(nums); var numsResult = new List <int> { 3, 5, 7, 8, 23, 38, 56 }; CollectionAssert.AreEqual(nums, numsResult); }
public void ArraySort2SelectionSortCompleteTestTwoElements() { var nums = new List <int> { 5, 3 }; ArraySort2SelectionSortComplete.Sort(nums); var numsResult = new List <int> { 3, 5 }; CollectionAssert.AreEqual(nums, numsResult); }