コード例 #1
0
        public void AMonth()
        {
            var startDate = new DateTime(2018, 1, 01);
            var endDate   = new DateTime(2018, 1, 31);
            var budgets   = new List <Budget>()
            {
                new Budget()
                {
                    YearMonth = "201801", Amount = 62
                }
            };


            BudgetSetup(budgets);
            Assert.AreEqual(62, _accounting.TotalAccoount(startDate, endDate));
        }