mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
move textspr/sprout/* -> libs/<libname>/test/*
fix binomial_distribution
This commit is contained in:
parent
237ec76266
commit
0ceabb5b9b
107 changed files with 1228 additions and 840 deletions
23
libs/random/test/mersenne_twister.cpp
Normal file
23
libs/random/test/mersenne_twister.cpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue