mirror of
https://github.com/boostorg/random.git
synced 2026-01-26 18:52:27 +00:00
Merge random from the trunk
[SVN r74867]
This commit is contained in:
@@ -24,16 +24,16 @@ BOOST_AUTO_TEST_CASE(test_seed_seq) {
|
||||
boost::uint32_t store32[10];
|
||||
boost::uint64_t store64[10];
|
||||
boost::uint32_t expected[10] = {
|
||||
2571534471u,
|
||||
852093106u,
|
||||
3994144234u,
|
||||
904246505u,
|
||||
3404579686u,
|
||||
1508446734u,
|
||||
3679033230u,
|
||||
2550178480u,
|
||||
4205639301u,
|
||||
268720383u
|
||||
3155793538u,
|
||||
2047427591u,
|
||||
2886057794u,
|
||||
280666868u,
|
||||
2184015838u,
|
||||
4035763234u,
|
||||
808987374u,
|
||||
3177165994u,
|
||||
2993445429u,
|
||||
3110180644u
|
||||
};
|
||||
std::fill_n(&store32[0], 10, 0);
|
||||
std::fill_n(&store64[0], 10, 0);
|
||||
@@ -50,16 +50,16 @@ BOOST_AUTO_TEST_CASE(test_seed_seq) {
|
||||
¶m[0], ¶m[0] + 4, &expected_param[0], &expected_param[0] + 4);
|
||||
|
||||
boost::uint32_t expected_r[10] = {
|
||||
249299179u,
|
||||
1602610063u,
|
||||
745496312u,
|
||||
3444440002u,
|
||||
1462959439u,
|
||||
4120764957u,
|
||||
2551678045u,
|
||||
2909251680u,
|
||||
3652199668u,
|
||||
1330108271u
|
||||
2681148375u,
|
||||
3302224839u,
|
||||
249244011u,
|
||||
1549723892u,
|
||||
3429166360u,
|
||||
2812310274u,
|
||||
3902694127u,
|
||||
1014283089u,
|
||||
1122383019u,
|
||||
494552679u
|
||||
};
|
||||
|
||||
std::vector<int> data = list_of(2)(3)(4);
|
||||
|
||||
Reference in New Issue
Block a user