public void AverageTest(int[] data, int expected) { int actual = ArrayExtensions.Average(data); Assert.AreEqual(expected, actual); }