Open purivirakarin opened 4 months ago
The test case is to test that invalid indexes would produce a error message and thus it need not be a positive integer as a negative integer, or in this case any number that is a invalid index) would be an invalid input as well.
Team chose [response.Rejected
]
Reason for disagreement: The current phrasing, stating 'where x is smaller or larger than the list size,' might be a bit unclear, as it doesn't explicitly state that 'x' should not be within the range of valid list indexes. To enhance clarity, it could specify that 'x' should be a 'non-positive integer or a number larger than the list size' to make it clear that valid indexes are only positive numbers within the range of the list size. This would prevent any confusion about what an invalid index is.
Page 39
AddPolicy 5.
should state that x is a positive integer that is smaller or larger than the list size