コード例 #1
0
 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);
 }
コード例 #2
0
 public void TestStableSortCopy_NullComparison_Throws()
 {
     IReadOnlySublist<List<int>, int> list = new List<int>().ToSublist();
     Func<int, int, int> comparison = null;
     list.StableSort(comparison);
 }
コード例 #3
0
 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);
 }
コード例 #4
0
 public void TestStableSortCopy_DestinationNull_Throws()
 {
     IReadOnlySublist<List<int>, int> list = new List<int>().ToSublist();
     IExpandableSublist<List<int>, int> destination = null;
     list.StableSort().CopyTo(destination);
 }
コード例 #5
0
 public void TestStableSortCopy_NullComparer_Throws()
 {
     var list = new List<int>().ToSublist();
     IComparer<int> comparer = null;
     list.StableSort(comparer);
 }
コード例 #6
0
 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);
 }
コード例 #7
0
 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);
 }
コード例 #8
0
 public void TestStableSortInPlace_NullComparison_Throws()
 {
     var list = new List<int>().ToSublist();
     Func<int, int, int> comparison = null;
     list.StableSort(comparison);
 }
コード例 #9
0
 public void TestStableSortInPlace_NullBuffer_Throws()
 {
     IExpandableSublist<List<int>, int> list = new List<int>().ToSublist();
     IExpandableSublist<List<int>, int> buffer = null;
     list.StableSort(buffer);
 }
コード例 #10
0
 public void TestStableSortAdd_NullComparer_Throws()
 {
     IReadOnlySublist<List<int>, int> list = new List<int>().ToSublist();
     IComparer<int> comparer = null;
     list.StableSort(comparer);
 }