public void InsertionSort_SortIntNumbers_SortedIntNumbers() { Tuple <List <int>, List <int> > tmp = _common.GeneratePairToSortInt(); IEnumerable <int> sorted = SimpleSorts.SelectionSort(tmp.Item2); Assert.AreEqual(tmp.Item1, sorted); }
public void InsertionSort_SortEmptyList_ReturnEmptyList() { IEnumerable <int> sorted = SimpleSorts.SelectionSort(new List <int>()); Assert.AreEqual(new List <int>(), sorted); }