TestU01Drv is a simple command-line application that can pipe the output of any external
random number generator into the TestU01 randomness testing library.
This makes TestU01, which normally requires linking against it as a library, easier to use.
Test /dev/urandom with the SmallCrush and LinComp test batteries:
$ cat /dev/urandom | TestU01Drv --tests SmallCrush,LinCompEvery GitHub release contains pre-built statically linked binaries for Linux.
Make sure a recent Rust toolchain is installed, then run:
$ cargo install TestU01DrvAfter checking out the repository (or downloading a source archive), run:
$ cargo install --path .TestU01 is published under a non-commercial license provided in TestU01-1.2.3/COPYING.
The novel components of the TestU01Drv project are licensed under the same license.
The copy of TestU01 1.2.3 in this repository was lightly modified to fix compile errors and slightly reduce verbosity. All literate LaTeX files have also been pre-compiled into C headers, simplifying the build process.