mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-16 15:14:13 +00:00
testspr テスト追加
This commit is contained in:
parent
240c2bee1d
commit
7479f20c46
72 changed files with 6810 additions and 0 deletions
18
testspr/sprout/random/linear_congruential.hpp
Normal file
18
testspr/sprout/random/linear_congruential.hpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef TESTSPR_SPROUT_RANDOM_LINEAR_CONGRUENTIAL_HPP
|
||||
#define TESTSPR_SPROUT_RANDOM_LINEAR_CONGRUENTIAL_HPP
|
||||
|
||||
#include <sprout/random/linear_congruential.hpp>
|
||||
#include <testspr/sprout/random/engine_generic.hpp>
|
||||
#include <testspr/tools.hpp>
|
||||
|
||||
namespace testspr {
|
||||
void random_linear_congruential_test() {
|
||||
using namespace sprout;
|
||||
|
||||
testspr::random_engine_test_generic<sprout::random::minstd_rand0>();
|
||||
testspr::random_engine_test_generic<sprout::random::minstd_rand>();
|
||||
testspr::random_engine_test_generic<sprout::random::rand48>();
|
||||
}
|
||||
} // namespace testspr
|
||||
|
||||
#endif // #ifndef TESTSPR_SPROUT_RANDOM_LINEAR_CONGRUENTIAL_HPP
|
Loading…
Add table
Add a link
Reference in a new issue