Seed the random number generator in tests.

[SVN r41782]
This commit is contained in:
Daniel James
2007-12-06 11:42:28 +00:00
parent 322f7d6ec6
commit 6e8f9e1c67
18 changed files with 41 additions and 2 deletions

View File

@@ -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
{

View File

@@ -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;

View File

@@ -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
{

View File

@@ -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
{

View File

@@ -16,6 +16,8 @@
#include <cmath>
test::seed_t seed(747373);
template <class T>
struct insert_test_base : public test::exception_base
{

View File

@@ -15,6 +15,8 @@
#include <iostream>
test::seed_t seed(3298597);
template <class T>
struct rehash_test_base : public test::exception_base
{

View File

@@ -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
{