Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Adventures in testing go randomness and the awkwardness of using rand.Intn
(opens in new tab)
(sagiantebi.com)
1 points
sagia
3y ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
sagia
OP
3y ago
Decided to give a shot and do a short write up regarding an odd moment of writing unit tests for some functions that required randomness. hope this might help someone in the future stumbling on similar use cases
j
/
k
navigate · click thread line to collapse