mirror of
https://github.com/boostorg/unordered.git
synced 2025-11-03 09:11:42 +01:00
Seed the random number generator in tests.
[SVN r41782]
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
#include "../helpers/random_values.hpp"
|
||||
#include "../helpers/invariants.hpp"
|
||||
|
||||
test::seed_t seed(12847);
|
||||
|
||||
template <class T>
|
||||
struct self_assign_base : public test::exception_base
|
||||
{
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include "../helpers/random_values.hpp"
|
||||
#include "../helpers/input_iterator.hpp"
|
||||
|
||||
test::seed_t seed(91274);
|
||||
|
||||
struct objects
|
||||
{
|
||||
test::exception::object obj;
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
#include <boost/test/exception_safety.hpp>
|
||||
#include "../helpers/random_values.hpp"
|
||||
|
||||
test::seed_t seed(73041);
|
||||
|
||||
template <class T>
|
||||
struct copy_test1 : public test::exception_base
|
||||
{
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
#include "../helpers/invariants.hpp"
|
||||
#include "../helpers/helpers.hpp"
|
||||
|
||||
test::seed_t seed(835193);
|
||||
|
||||
template <class T>
|
||||
struct erase_test_base : public test::exception_base
|
||||
{
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
#include <cmath>
|
||||
|
||||
test::seed_t seed(747373);
|
||||
|
||||
template <class T>
|
||||
struct insert_test_base : public test::exception_base
|
||||
{
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
test::seed_t seed(3298597);
|
||||
|
||||
template <class T>
|
||||
struct rehash_test_base : public test::exception_base
|
||||
{
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include "../helpers/random_values.hpp"
|
||||
#include "../helpers/invariants.hpp"
|
||||
|
||||
test::seed_t seed(9387);
|
||||
|
||||
template <class T>
|
||||
struct self_swap_base : public test::exception_base
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user