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)); }
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)); }
public void SumProjectionSparseNullableData() { Aggregate <Wrap <int?>, int?>( x => Enumerable.Sum(x, y => y.Value), x => DataProducerExt.Sum(x, y => y.Value), new Wrap <int?>(5), null, new Wrap <int?>(1)); }
public void SumProjectionDenseDataWithNulls() { Aggregate <Wrap <int?>, int?>( x => Enumerable.Sum(x, y => y.Value), x => DataProducerExt.Sum(x, y => y.Value), new Wrap <int?>(5), new Wrap <int?>(null), new Wrap <int?>(1)); }
public void SumProjectionDenseData() { Aggregate <Wrap <int>, int>( x => Enumerable.Sum(x, y => y.Value), x => DataProducerExt.Sum(x, y => y.Value), new Wrap <int>(5), new Wrap <int>(2), new Wrap <int>(1)); }
public void MinNullableInt32NoProjectionStartsNull() { // test against typed Enumerable form Aggregate <int?, int?>(x => Enumerable.Min(x), x => DataProducerExt.Min(x), null, 1, 2); }
public void AverageProjectionEmpty() { Aggregate <Wrap <int>, double>( x => Enumerable.Average(x, y => y.Value), x => DataProducerExt.Average(x, y => y.Value)); }
public void SumProjectionEmpty() { Aggregate <Wrap <int>, int>( x => Enumerable.Sum(x, y => y.Value), x => DataProducerExt.Sum(x, y => y.Value)); }
public void MaxNullableInt32NoProjectionStartsNull() { Aggregate <int?, int?>(x => Enumerable.Max(x), x => DataProducerExt.Max(x), null, 1, 2); }