AY2425S1-CS2103-F12-1 / tp

MIT License
0 stars 4 forks source link

AddInsurance possible bug: inconsistent output to user for invalid Insurance Plan ID #164

Open zi-yii opened 4 days ago

zi-yii commented 4 days ago

(Case 1: Negative plan ID) User input: addInsurance 1 iid/-2 Actual:

image

(Case 2: Relatively small positive plan ID) User input: addInsurance 1 iid/2 Actual:

image

(Case 3: Extremely large positive plan ID) User input: addInsurance 1 iid/10000000000000 Actual:

image

Should we ensure that the output to user is the message for invalid insurance plan ID for all the 3 cases?