Example #1
0
 public void GroupByNullComparer()
 {
     Assert.Throws <ArgumentNullException>(() => NonNullDataProducer.GroupBy(x => x, x => x, (x, y) => x, null));
 }
Example #2
0
 public void GroupByNullResultSelector()
 {
     Assert.Throws <ArgumentNullException>(() => NonNullDataProducer.GroupBy <string, string, string, string>(x => x, x => x, null, StringComparer.CurrentCulture));
 }
Example #3
0
 public void GroupByNullKeySelector()
 {
     Assert.Throws <ArgumentNullException>(() => NonNullDataProducer.GroupBy(null, x => x, (x, y) => x, StringComparer.CurrentCulture));
 }
 public void GroupByNullComparer()
 {
     NonNullDataProducer.GroupBy(x => x, x => x, (x, y) => x, null);
 }
 public void GroupByNullResultSelector()
 {
     NonNullDataProducer.GroupBy <string, string, string, string>(x => x, x => x, null, StringComparer.CurrentCulture);
 }
 public void GroupByNullKeySelector()
 {
     NonNullDataProducer.GroupBy(null, x => x, (x, y) => x, StringComparer.CurrentCulture);
 }