summaryrefslogtreecommitdiff
path: root/libs/random/test/test_taus88.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/random/test/test_taus88.cpp')
-rw-r--r--libs/random/test/test_taus88.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/libs/random/test/test_taus88.cpp b/libs/random/test/test_taus88.cpp
new file mode 100644
index 0000000000..b7f3258f82
--- /dev/null
+++ b/libs/random/test/test_taus88.cpp
@@ -0,0 +1,24 @@
+/* test_taus88.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: test_taus88.cpp 74867 2011-10-09 23:13:31Z steven_watanabe $
+ *
+ */
+
+#include <boost/random/taus88.hpp>
+
+#define BOOST_RANDOM_URNG boost::random::taus88
+
+#define BOOST_RANDOM_SEED_WORDS 3
+
+#define BOOST_RANDOM_VALIDATION_VALUE 3535848941U
+#define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 2562639222U
+#define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 3762466828U
+
+#define BOOST_RANDOM_GENERATE_VALUES { 0x2B55504U, 0x5403F102U, 0xED45297EU, 0x6B84007U }
+
+#include "test_generator.ipp"