test_linear_feedback_shift.cpp 776 B

12345678910111213141516171819202122232425
  1. /* test_linear_feedback_shift.cpp
  2. *
  3. * Copyright Steven Watanabe 2011
  4. * Distributed under the Boost Software License, Version 1.0. (See
  5. * accompanying file LICENSE_1_0.txt or copy at
  6. * http://www.boost.org/LICENSE_1_0.txt)
  7. *
  8. * $Id$
  9. *
  10. */
  11. #include <boost/random/linear_feedback_shift.hpp>
  12. typedef boost::random::linear_feedback_shift_engine<boost::uint32_t, 32, 31, 13, 12> linear_feedback_shift;
  13. #define BOOST_RANDOM_URNG linear_feedback_shift
  14. #define BOOST_RANDOM_SEED_WORDS 1
  15. #define BOOST_RANDOM_VALIDATION_VALUE 981440277U
  16. #define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 3709603036U
  17. #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 3112279337U
  18. #define BOOST_RANDOM_GENERATE_VALUES { 0x154005U, 0x54005502U, 0x5502BD4U, 0x2BD4005U }
  19. #include "test_generator.ipp"