Hacker News new | ask | show | jobs
by lubonay 2115 days ago
+1. I personally like using random data if the test is concerned with only one input, but I avoid random data when checking e.g. pairs of numbers because of the slight chance that the random numbers would be unexpectedly equal.