public void Test_PageGroupCount_sum_revenue_groupby_count()
        {
            var groupCount = 4;

            //建立以筆數來計算 revenue
            var target = new PageGroupCount(groupCount);

            var expected = new List<int> { 50, 66, 60 };
            var actual = target.SumRevenue(groupCount, _datasource);

            CollectionAssert.AreEqual(expected, actual.ToList());
        }
        public void Test_PageGroupCount_sum_cost_groupby_count()
        {
            var groupCount = 3;

            //建立以筆數來計算 cost
            var target = new PageGroupCount(groupCount);

            var expected = new List<int>() { 6, 15, 24, 21 };
            var actual = target.SumCost(groupCount, _datasource);

            CollectionAssert.AreEqual(expected, actual.ToList());
        }