HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by jwiley | Hacker News Reader
Parent
Full thread
jwiley
·
assert(rand() != dummy_random_read_phony())
View on HN
tedunangst
·
If dummy_random_read_phony() is rand(), that test will always pass. Almost every implementation of rand() will never return the same result in a row.
Reply on news.ycombinator.com