Bitcoin Core  22.99.0
P2P Digital Currency
Functions
random_tests.cpp File Reference
#include <random.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
#include <algorithm>
#include <random>
Include dependency graph for random_tests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (osrandom_tests)
 
 BOOST_AUTO_TEST_CASE (fastrandom_tests)
 
 BOOST_AUTO_TEST_CASE (fastrandom_randbits)
 
 BOOST_AUTO_TEST_CASE (stdrandom_test)
 Does-it-compile test for compatibility with standard C++11 RNG interface. More...
 
 BOOST_AUTO_TEST_CASE (shuffle_stat_test)
 Test that Shuffle reaches every permutation with equal probability. More...
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

BOOST_AUTO_TEST_CASE ( fastrandom_randbits  )

Definition at line 69 of file random_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( fastrandom_tests  )

Definition at line 21 of file random_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/5]

BOOST_AUTO_TEST_CASE ( osrandom_tests  )

Definition at line 16 of file random_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/5]

BOOST_AUTO_TEST_CASE ( shuffle_stat_test  )

Test that Shuffle reaches every permutation with equal probability.

Definition at line 107 of file random_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( stdrandom_test  )

Does-it-compile test for compatibility with standard C++11 RNG interface.

Definition at line 85 of file random_tests.cpp.

Here is the call graph for this function: