
Input: /delete 0
Output:
Entry not found. Please enter an ID from 1 to 0.
Expected Output:
Entry not found. Your list is empty.
Description of Bug:
When list is empty, when given input command: /delete 0. The output given by program is "Please enter an ID from 1 to 0". In my opinion, the printing output is not what was expected due the given range 1 to 0. There is already 0 items in the list, so first of all the starting index should not be 1. Second, the team could perhaps maybe have a separate error print statement for empty list.
Input: /delete 0
Output:
Entry not found. Please enter an ID from 1 to 0.
Expected Output:
Entry not found. Your list is empty.
Description of Bug:
When list is empty, when given input command: /delete 0. The output given by program is "Please enter an ID from 1 to 0". In my opinion, the printing output is not what was expected due the given range 1 to 0. There is already 0 items in the list, so first of all the starting index should not be 1. Second, the team could perhaps maybe have a separate error print statement for empty list.