mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
add random::poisson_distribution
This commit is contained in:
parent
befe29adf0
commit
9bcc98cb29
5 changed files with 448 additions and 2 deletions
28
libs/random/test/poisson_distribution.cpp
Normal file
28
libs/random/test/poisson_distribution.cpp
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*=============================================================================
|
||||
Copyright (c) 2011-2015 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_POISSON_DISTRIBUTION_CPP
|
||||
#define SPROUT_LIBS_RANDOM_TEST_POISSON_DISTRIBUTION_CPP
|
||||
|
||||
#include <sprout/random/poisson_distribution.hpp>
|
||||
#include "./distribution_generic.hpp"
|
||||
#include <testspr/tools.hpp>
|
||||
|
||||
namespace testspr {
|
||||
void random_poisson_distribution_test() {
|
||||
using namespace sprout;
|
||||
|
||||
testspr::random_distribution_test_generic<sprout::random::poisson_distribution<> >();
|
||||
}
|
||||
} // namespace testspr
|
||||
|
||||
#ifndef TESTSPR_CPP_INCLUDE
|
||||
# define TESTSPR_TEST_FUNCTION testspr::random_poisson_distribution_test
|
||||
# include <testspr/include_main.hpp>
|
||||
#endif
|
||||
|
||||
#endif // #ifndef SPROUT_LIBS_RANDOM_TEST_POISSON_DISTRIBUTION_CPP
|
Loading…
Add table
Add a link
Reference in a new issue