forked from boostorg/unordered
Seed the random number generator in tests.
[SVN r41782]
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
test::seed_t seed(96785);
|
||||
|
||||
template <class T>
|
||||
void assign_tests1(T* = 0)
|
||||
{
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include "../helpers/random_values.hpp"
|
||||
#include "../helpers/helpers.hpp"
|
||||
|
||||
test::seed_t seed(54635);
|
||||
|
||||
template <class X>
|
||||
void bucket_tests(X* = 0)
|
||||
{
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
test::seed_t seed(356730);
|
||||
|
||||
template <class T>
|
||||
void constructor_tests1(T* = 0)
|
||||
{
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
#include "../helpers/equivalent.hpp"
|
||||
#include "../helpers/invariants.hpp"
|
||||
|
||||
test::seed_t seed(9063);
|
||||
|
||||
template <class T>
|
||||
void copy_construct_tests1(T* = 0)
|
||||
{
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
test::seed_t seed(85638);
|
||||
|
||||
template <class Container>
|
||||
void erase_tests1(Container* = 0)
|
||||
{
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include "../helpers/tracker.hpp"
|
||||
#include "../helpers/helpers.hpp"
|
||||
|
||||
test::seed_t seed(78937);
|
||||
|
||||
template <class X>
|
||||
void find_tests1(X*)
|
||||
{
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
test::seed_t seed(243432);
|
||||
|
||||
template <class X>
|
||||
void unique_insert_tests1(X* = 0)
|
||||
{
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
#pragma warning(disable:4127) // conditional expression is constant
|
||||
#endif
|
||||
|
||||
test::seed_t seed(783656);
|
||||
|
||||
template <class X>
|
||||
void load_factor_tests(X* = 0)
|
||||
{
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include "../helpers/random_values.hpp"
|
||||
#include "../helpers/tracker.hpp"
|
||||
|
||||
test::seed_t seed(2974);
|
||||
|
||||
template <class X>
|
||||
bool postcondition(X const& x, typename X::size_type n)
|
||||
{
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
#include "../helpers/tracker.hpp"
|
||||
#include "../helpers/invariants.hpp"
|
||||
|
||||
test::seed_t seed(783472);
|
||||
|
||||
template <class X>
|
||||
void swap_test_impl(X& x1, X& x2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user