---
title: TestU01
slug: testu01
qid: Q7705698
snapshot: testu01-866276-1fc4ec4408f4bd7f
content_hash: 1fc4ec4408f4bd7f3bbdd7430518e64358817237cfd65ece7219bca68b60cd84
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1351411383
tags: [23049066, 23118434, 23603337, 29265213, 32942102]
---

# TestU01

> [!note] Provenance
> Snapshot `testu01-866276-1fc4ec4408f4bd7f` · content root `1fc4ec4408f4bd7f…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1351411383> · Licensed CC BY-SA 4.0

TestU01 is a software library, implemented in the ANSI C language, that offers a collection of utilities for the empirical randomness testing of random number generators (RNGs). The library was first introduced in 2007 by Pierre L’Ecuyer and Richard Simard of the Université de Montréal. The library implements several types of random number generators, including some proposed in the literature and some found in widely used software. It provides general implementations of the classical statistical tests for random number generators, as well as several others proposed in the literature, and some original ones. These tests can be applied to the generators predefined in the library, user-defined generators, and streams of random numbers stored in files. Specific tests suites for either sequences of uniform random numbers in [0,1] or bit sequences are also available. Basic tools for plotting vectors of points produced by generators are provided as well.

TestU01 is a software library, implemented in the ANSI C language, that offers a collection of utilities for the empirical randomness testing of random number generators (RNGs). The library was first introduced in 2007 by Pierre L’Ecuyer and Richard Simard of the Université de Montréal. The library implements several types of random number generators, including some proposed in the literature and some found in widely used software. It provides general implementations of the classical statistical tests for random number generators, as well as several others proposed in the literature, and some original ones. These tests can be applied to the generators predefined in the library, user-defined generators, and streams of random numbers stored in files. Specific tests suites for either sequences of uniform random numbers in [0,1] or bit sequences are also available. Basic tools for plotting vectors of points produced by generators are provided as well. ==References==
