Closed TPH777 closed 2 days ago
It can be due to me not handling the merge conflict well, will check again later
Problem: amount
being set before checking whether if it is valid, causing it to exit the while loop in all the initialiseBudget()
method, so the budgets are still uninitalised at the end.
amount
, the conditional will query the budget from spendings
directly.Problem: 'BUDGET_COMMAND_FORMATis used in all the
initialiseBudget()`
DUMMY_STRING
instead.Problem: smallerBudget
not being checked whether is it below MINIMUM_AMOUNT_ENTERED
, though setBudget()
passed the userInput budget to it.
checkUserBudgetEntered(DUMMY_AMOUNT, budget, DAILY_BUDGET, MONTHLY_BUDGET);
in daily budget setting
During initialisation
Incorrect exception for string input during initialisation
Budget command: