rngtest::SmallCrush class

Class registering the TestU01 library's SmallCrush 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::SmallCrush::name() const

Returns Test suite name as a std::string

Return string identifying test suite name

void rngtest::SmallCrush::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 to add tests to
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 SmallCrush battery.