2 ms·
Depends entirely on the system. This is akin to thinking communication will break down if we all switch to different languages. Certainly true, but far from a
by taeric 13y ago
Depends entirely on the system. This is akin to thinking communication will break down if we all switch to different languages. Certainly true, but far from a likely thing to worry about.
That is, "random input" is not nearly as important as "likely input."
So, the question here would be if you could use a simulation to cover "likely bad" values. Specifically, based on values that have caused previous methods of similar types to fail. I would think certainly. This is, essentially, boundary value testing. (Or am I wrong?)
And yes, I realize there are plenty of libraries that help with this. ScalaCheck/QuickCheck and the like.