#include <chrono>
#include <numeric>
#include <random>
Go to the source code of this file.
|
auto | helper::details::rd_gen () -> std::mt19937 & |
|
template<typename T , std::enable_if_t< is_chrono_duration< T >::value, void * > = nullptr> |
auto | helper::random_value (T min, T max) -> T |
|
template<typename T > |
T | helper::random_value () |
|
template<typename T , std::enable_if_t< std::is_integral< T >::value, void * > = nullptr> |
auto | helper::compare (const T &a, const T &b) -> bool |
|
template<typename T , std::enable_if_t< std::is_floating_point< T >::value, void * > = nullptr> |
auto | helper::compare (const T &a, const T &b, T epsilon=T(0.001)) -> bool |
|