예제 #1
0
 public void AverageProjectionDenseDataWithNulls()
 {
     Aggregate <Wrap <int?>, double?>(
         x => Enumerable.Average(x, y => y.Value),
         x => DataProducerExt.Average(x, y => y.Value),
         new Wrap <int?>(5), new Wrap <int?>(null), new Wrap <int?>(1));
 }
예제 #2
0
 public void AverageProjectionSparseData()
 {
     Aggregate <Wrap <int>, double>(
         x => Enumerable.Average(x, y => y.Value),
         x => DataProducerExt.Average(x, y => y.Value),
         new Wrap <int>(5), null, new Wrap <int>(1));
 }
예제 #3
0
 public void AverageProjectionEmpty()
 {
     Aggregate <Wrap <int>, double>(
         x => Enumerable.Average(x, y => y.Value),
         x => DataProducerExt.Average(x, y => y.Value));
 }