Open ryanongwx opened 10 months ago
This issue is a duplicate of Issue #1708, which highlights the point that error messages for 0 indices give the wrong error message in the output box.
[The team marked this bug as a duplicate of the following bug]
Delete 0 showing wrong output
delete 0 is a positive integer and should be understood, Instead the out of bounds output should be shown instead
[original: nus-cs2103-AY2324S1/pe-interim#1329] [original labels: severity.Low type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
Thank you for taking the time to feedback. However, one can be very technical about the definition of zero and whether it is included in the set of positive integers. Based on the CS1231S Discrete Structure lecture 5 Set Theory slide 9, 0 for all intents and purposes is not considered as part of the set of positive integers.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
View 0 is a positive integer and should be understood and the output should be out of bounds instead