nusCS2113-AY1920S1 / pe-dev-response

0 stars 0 forks source link

Adding input before or after "balance" command still executes the command #1315

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

Adding extra inputs before or after "balance" will still execute the command. This does not match the command found in the user guide which is just "balance" For e.g. "balance sdfsdfasdf" or "balancesadfasdf" or "basdfasdfbalanceasdf"

Screenshot 2019-11-15 at 16.29.05.png


[original: nusCS2113-AY1920S1/pe-interim#1315]

Mudaafi commented 4 years ago

Team's Response

This is not a bug but rather an intentional feature. Additional, unintended input before and after the desired command will be ignored by Duke$$$ as they are not necessary for the execution of the Command. This was mentioned in the UG and DG.

UG Extract extra_inputs.jpg

This was done to provide a smoother experience for Users so that they need not be precise in their input and be afforded some margin of error.

Severity has been adjusted to low as the examples provided by the Tester are not demonstrative of an inconvenience (in fact it could be seen as a convenience) as the User clearly intends to execute the mentioned command but accidentally added input before & after.

Duplicate status (if any):

--