public void Hw_109_linq_Aggregate(int[] array, int expected) { //pass in array and get back sum : check is valid //arrange //act var actual = LINQAggregate.LINQAggregateSum(array); //assert Assert.AreEqual(expected, actual); }
public void hw_109_Aggregate(int[] aa, int expected) { var actual = LINQAggregate.LINQAggregateSum(aa); Assert.AreEqual(expected, actual); }