Open DavinciDelta opened 9 months ago
upon wrong number of calories given, the seedu.duke.data.exception.IncorrectFormatException will also appear
steps to reproduce:
log 1 2 Football 9999999999999
log 1 2 Football -1000
expected:
Please specify reasonable positive numbers in the month, day, and calories burned fields
You cannot burn a negative number of calories.
actual:
seedu.duke.data.exception.IncorrectFormatException: Please specify reasonable positive numbers in the month, day, and calories burned fields
seedu.duke.data.exception.IncorrectFormatException: You cannot burn a negative number of calories.
Your response not required for this bug as the team has accepted the bug as it is.
upon wrong number of calories given, the seedu.duke.data.exception.IncorrectFormatException will also appear
steps to reproduce:
log 1 2 Football 9999999999999
log 1 2 Football -1000
expected:
Please specify reasonable positive numbers in the month, day, and calories burned fields
You cannot burn a negative number of calories.
actual:
seedu.duke.data.exception.IncorrectFormatException: Please specify reasonable positive numbers in the month, day, and calories burned fields
seedu.duke.data.exception.IncorrectFormatException: You cannot burn a negative number of calories.