Python implements same algorithms and tests as C code.
Python implements same algorithms and tests as C code.

Implementing the tests in Python was a little messy due to the way the C code is structured: the C implementation's seed values aren't independent, unlike the Python implementation's.

cmcqueen/simplerandom,cmcqueen/simplerandom,cmcqueen/simplerandom,cmcqueen/simplerandom,cmcqueen/simplerandom