public void 驗證GetSumResultReflection_Revenue欄位_4個一組()
        {
            //Arrange
            var rows     = 4;
            var property = "Revenue";
            var expected = new List <int>()
            {
                50, 66, 60
            };

            //Act
            List <int> result = PartitionThenSum.GetSumResultReflection(_Sources, rows, property);

            //Assert
            CollectionAssert.AreEqual(expected, result);
        }
        public void 驗證GetSumResultReflection_Cost欄位_3個一組()
        {
            //Arrange
            var rows     = 3;
            var property = "Cost";
            var expected = new List <int>()
            {
                6, 15, 24, 21
            };

            //Act
            List <int> result = PartitionThenSum.GetSumResultReflection <Stock>(_Sources, rows, property);

            //Assert
            CollectionAssert.AreEqual(expected, result);
        }