public void TestStableSortCopy_WithComparison_NullBuffer_Throws() { IReadOnlySublist<List<int>, int> list = new List<int>().ToSublist(); IExpandableSublist<List<int>, int> buffer = null; Func<int, int, int> comparison = Comparer<int>.Default.Compare; list.StableSort(buffer, comparison); }
public void TestStableSortCopy_NullComparison_Throws() { IReadOnlySublist<List<int>, int> list = new List<int>().ToSublist(); Func<int, int, int> comparison = null; list.StableSort(comparison); }
public void TestStableSortCopy_WithBuffer_NullComparer_Throws() { IReadOnlySublist<List<int>, int> list = new List<int>().ToSublist(); IExpandableSublist<List<int>, int> buffer = new List<int>().ToSublist(); IComparer<int> comparer = null; list.StableSort(buffer, comparer); }
public void TestStableSortCopy_DestinationNull_Throws() { IReadOnlySublist<List<int>, int> list = new List<int>().ToSublist(); IExpandableSublist<List<int>, int> destination = null; list.StableSort().CopyTo(destination); }
public void TestStableSortCopy_NullComparer_Throws() { var list = new List<int>().ToSublist(); IComparer<int> comparer = null; list.StableSort(comparer); }
public void TestStableSortInPlace_WithComparer_NullBuffer_Throws() { IExpandableSublist<List<int>, int> list = new List<int>().ToSublist(); IExpandableSublist<List<int>, int> buffer = null; IComparer<int> comparer = Comparer<int>.Default; list.StableSort(buffer, comparer); }
public void TestStableSortInPlace_WithBuffer_NullComparison_Throws() { var list = new List<int>().ToSublist(); IExpandableSublist<List<int>, int> buffer = new List<int>().ToSublist(); Func<int, int, int> comparison = null; list.StableSort(buffer, comparison); }
public void TestStableSortInPlace_NullComparison_Throws() { var list = new List<int>().ToSublist(); Func<int, int, int> comparison = null; list.StableSort(comparison); }
public void TestStableSortInPlace_NullBuffer_Throws() { IExpandableSublist<List<int>, int> list = new List<int>().ToSublist(); IExpandableSublist<List<int>, int> buffer = null; list.StableSort(buffer); }
public void TestStableSortAdd_NullComparer_Throws() { IReadOnlySublist<List<int>, int> list = new List<int>().ToSublist(); IComparer<int> comparer = null; list.StableSort(comparer); }