dinhnhobao / pe

0 stars 0 forks source link

Valid calorie number with padding 0s but not accepted #14

Open dinhnhobao opened 4 years ago

dinhnhobao commented 4 years ago

1 has one digit image.png

nus-pe-bot commented 4 years ago

Team's Response

Hi there.

The 000001 has a total of six digits and does not follow the instructions. Furthermore, normal users are unlikely to type this input.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: "Normal users are unlikely to type this input" so we all agree that this is a severity.Low issue. This is a legitimate case, since 000001 is just 1, which is one digit. Your code should be able to handle leading 0s and trim it out, for example AB3 was able to trim the leading and trailing spaces in the String input.