-
-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Labels
Reserved: ECThis is reserved for Emmanuel College CS studentsThis is reserved for Emmanuel College CS students
Description
[[Reserved for Mark Sherman's Class]]
In https://github.com/processing/processing4/blob/main/core/src/processing/data/IntList.java#L166-L171
We are not doing a lower bounds check on index. We don't know what would happen with negative indices.
- Please write a test to see what happens when there is a negative index,
- Update the test to check if we do the "right-thing" in that case (probably an exception? please figure it out! (or discuss with me :) ))
- Update the code to make the test pass!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Reserved: ECThis is reserved for Emmanuel College CS studentsThis is reserved for Emmanuel College CS students