public void Average6() { var val = (new float?[] { 0, 2, 1 }).AsQueryable().Average(); Assert.Equal((float)1, val); }