testspr テスト追加

This commit is contained in:
bolero-MURAKAMI 2011-12-23 20:59:33 +09:00
parent 240c2bee1d
commit 7479f20c46
72 changed files with 6810 additions and 0 deletions

View 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