The htestu package

[Tags:library, mit, program]

HTestU is a library for testing correctness of presudo random number generators (PRNGs) written in Haskell. HTestU uses a library TestU01 based on a paper TestU01: A C Library for Empirical Testing of Random Number Generators by P. L'Ecuyer and R. Simard. Basically HTestU performs a wrapping of a member of the RandomGen typeclass (any reasonable PRNG can be made a member of it) and feeds a wrapped generator into a C library which calls the wrapped generator to fill the buffer with pseudo random numbers and then perform tests on the generated numbers. HTestU offers three batteries: smallCrush, crush and bigCrush (as they were specified in TestU01 paper) and a number of streaming functions which allow one to wrap the PRNG differently for the purpose of testing different patterns of PRNG usage.


Dependencies base (>=4.7 && <4.10), htestu, mersenne-random-pure64, mwc-random, primitive, random, tf-random [details]
License MIT
Author Nikita Kartashov
Category System
Home page
Source repository head: git clone
Uploaded Mon Aug 8 08:32:51 UTC 2016 by DominicSteinitz
Distributions NixOS:
Downloads 119 total (4 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2016-08-08 [all 1 reports]




testknownrngsbuild an exe to test selected Haskell RNGsDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees