mirror of
https://github.com/boostorg/random.git
synced 2026-02-26 04:52:22 +00:00
Merge random from the trunk.
[SVN r71018]
This commit is contained in:
26
test/test_knuth_b.cpp
Normal file
26
test/test_knuth_b.cpp
Normal file
@@ -0,0 +1,26 @@
|
||||
/* test_knuth_b.cpp
|
||||
*
|
||||
* Copyright Steven Watanabe 2011
|
||||
* Distributed under the Boost Software License, Version 1.0. (See
|
||||
* accompanying file LICENSE_1_0.txt or copy at
|
||||
* http://www.boost.org/LICENSE_1_0.txt)
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include <boost/random/shuffle_order.hpp>
|
||||
#include <boost/cstdint.hpp>
|
||||
|
||||
#define BOOST_RANDOM_URNG boost::random::knuth_b
|
||||
|
||||
#define BOOST_RANDOM_SEED_WORDS 1
|
||||
|
||||
// validation from the C++0x draft (n3090)
|
||||
#define BOOST_RANDOM_VALIDATION_VALUE 1112339016U
|
||||
#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 160100893U
|
||||
#define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 1692601883U
|
||||
|
||||
#define BOOST_RANDOM_GENERATE_VALUES { 0x5D189C63U, 0xD0544F0EU, 0x15B0E78FU, 0xD814D654U }
|
||||
|
||||
#include "test_generator.ipp"
|
||||
Reference in New Issue
Block a user