Me writing code that ensures the randomly generated user id -- a uniformly sampled 64 bit integer -- is not drawn repeatedly in my unit test that draws about 10 user ids makes poor use of statistical knowledge.
-
-
I once had a UUID-style thing made of semantic components and a two-byte Short value in my test suite was accidentally capable of being `0`, which was a reserved value. One out of every ~65k runs we'd get a failure. These things matter.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
: "Consider the probability of that test failing over the projects lifetime of test suit runs, then consider all the other ways you could have spent time making the code more robust instead."