2012-05-19 09:46:38 +00:00
|
|
|
#ifndef SPROUT_LIBS_RANDOM_TEST_MERSENNE_TWISTER_CPP
|
|
|
|
#define SPROUT_LIBS_RANDOM_TEST_MERSENNE_TWISTER_CPP
|
2011-12-23 11:59:33 +00:00
|
|
|
|
|
|
|
#include <sprout/random/mersenne_twister.hpp>
|
2012-05-19 09:46:38 +00:00
|
|
|
#include "./engine_generic.hpp"
|
2011-12-23 11:59:33 +00:00
|
|
|
#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
|
|
|
|
|
2012-05-19 09:46:38 +00:00
|
|
|
#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
|