Sprout/libs/random/test/mersenne_twister.cpp
bolero-MURAKAMI cb1077d247 add copyright
2013-08-08 18:54:33 +09:00

30 lines
1.1 KiB
C++

/*=============================================================================
Copyright (c) 2011-2013 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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)
=============================================================================*/
#ifndef SPROUT_LIBS_RANDOM_TEST_MERSENNE_TWISTER_CPP
#define SPROUT_LIBS_RANDOM_TEST_MERSENNE_TWISTER_CPP
#include <sprout/random/mersenne_twister.hpp>
#include "./engine_generic.hpp"
#include <testspr/tools.hpp>
namespace testspr {
void random_mersenne_twister_test() {
using namespace sprout;
testspr::random_engine_test_generic<sprout::random::mt11213b>();
//testspr::random_engine_test_generic<sprout::random::mt19937>();
//testspr::random_engine_test_generic<sprout::random::mt19937_64>();
}
} // namespace testspr
#ifndef TESTSPR_CPP_INCLUDE
# define TESTSPR_TEST_FUNCTION testspr::random_mersenne_twister_test
# include <testspr/include_main.hpp>
#endif
#endif // #ifndef SPROUT_LIBS_RANDOM_TEST_MERSENNE_TWISTER_CPP