htestu: A library for testing correctness of pseudo random number generators in Haskell.

[ library, mit, program, system ] [ Propose Tags ]

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.

Modules

[Last Documentation]

  • Test
    • Test.HTestU
      • Test.HTestU.BatteryResult
      • Test.HTestU.Streaming
      • Test.HTestU.Wrapping

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2
Dependencies base (>=4.7 && <4.10), random [details]
License MIT
Author Nikita Kartashov
Maintainer snailandmail@gmail.com
Category System
Home page https://github.com/nkartashov/htestu
Source repo head: git clone https://github.com/idontgetoutmuch/htestu
Uploaded by DominicSteinitz at 2016-08-06T08:52:03Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2267 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-21 [all 2 reports]