random_int range end is wrong #44

Closed
opened 2024-05-23 17:24:22 +00:00 by scott · 1 comment
Owner

random_int(3, 7) returns 3, 4, 5, 6, 7, AND 8. Expected: it will never return 8.

`random_int(3, 7)` returns 3, 4, 5, 6, 7, AND 8. Expected: it will never return 8.
scott added the
bug
now
labels 2024-05-23 17:24:34 +00:00
scott self-assigned this 2024-05-29 18:56:51 +00:00
scott added this to the Computer Class milestone 2024-05-29 18:56:55 +00:00
Author
Owner

Fixed with 1fff319bb6

Fixed with https://alea.ludus.dev/twc/ludus/commit/1fff319bb6cd2859c8f0689f8647746a31b4e542
scott closed this issue 2024-06-07 20:49:34 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: twc/ludus#44
No description provided.