rngtest::Crush class

Class registering the TestU01 library's Crush battery.

Contents

Public functions

auto name() const -> std::string
void addTests(std::vector<std::function<StatTest()>>& tests, tk::ctr::RNGType rng, CProxy_TestU01Suite& proxy)
Add statistical tests to battery.

Function documentation

std::string rngtest::Crush::name() const

Returns Test suite name as a std::string

Return string identifying test suite name

void rngtest::Crush::addTests(std::vector<std::function<StatTest()>>& tests, tk::ctr::RNGType rng, CProxy_TestU01Suite& proxy)

Add statistical tests to battery.

Parameters
tests in Vector of test constructors
rng in RNG ID enum associated with the RNG to be tested
proxy in Charm++ host proxy to which the tests will call back to

This function adds, i.e., registers, all statistical tests to the test stack corresponding to the TestU01 library's Crush battery.