Using Randomness to Test Code

Using Randomness to Test Code

Using Randomness to Test Code In part 1 of this series, we explored pseudo-random values. These are values that are statistically random, but are derived from a known starting point and is typically repeated over and over. In this article we explore how random values...
Some Thoughts on Random Number Generators

Some Thoughts on Random Number Generators

Introduction One of the first exercises given to me as a mathematics student was to write a random number generator (RNG) - which turned out not to be so easy. Test sequences cycled quickly, or were too predictable, or were not evenly distributed. Typically, when we...