예제 #1
0
        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);
        }
예제 #2
0
        public void hw_109_Aggregate(int[] aa, int expected)
        {
            var actual = LINQAggregate.LINQAggregateSum(aa);

            Assert.AreEqual(expected, actual);
        }