public static void CreateMonthly(BudgetType budgetType, string label, double amount) { _budget.AddEntry(new BudgetEntryMonthly(amount, label, budgetType)); }
public void CanSupportMonthlyBudgetEntries() { _budget.AddEntry(_monthlyEntry); Assert.That(_budget.TotalExpenses, Is.EqualTo(360.00)); Assert.That(_budget.MonthlyExpenses(1), Is.EqualTo(30.00)); Assert.That(_budget.MonthlyExpenses(12), Is.EqualTo(30.00)); }