![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "random.h"#include "test/test_pivx.h"#include <boost/test/unit_test.hpp>#include <random>#include <algorithm>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... | |
| BOOST_AUTO_TEST_CASE | ( | fastrandom_randbits | ) |
| BOOST_AUTO_TEST_CASE | ( | fastrandom_tests | ) |
| BOOST_AUTO_TEST_CASE | ( | osrandom_tests | ) |
| BOOST_AUTO_TEST_CASE | ( | shuffle_stat_test | ) |
Test that Shuffle reaches every permutation with equal probability.
Definition at line 104 of file random_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | stdrandom_test | ) |
Does-it-compile test for compatibility with standard C++11 RNG interface.
Definition at line 81 of file random_tests.cpp.