#include <catch.hpp>
Public Member Functions | |
Integer const & | get () const override |
bool | next () override |
RandomIntegerGenerator (Integer a, Integer b) | |
Public Member Functions inherited from Catch::Generators::IGenerator< Integer > | |
virtual | ~IGenerator ()=default |
Public Member Functions inherited from Catch::Generators::GeneratorUntypedBase | |
GeneratorUntypedBase ()=default | |
virtual | ~GeneratorUntypedBase () |
Private Attributes | |
Integer | m_current_number |
std::uniform_int_distribution< Integer > | m_dist |
std::minstd_rand | m_rand |
Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< Integer > | |
using | type = Integer |
|
inline |
|
inlineoverridevirtual |
Implements Catch::Generators::IGenerator< Integer >.
|
inlineoverridevirtual |
Implements Catch::Generators::GeneratorUntypedBase.
|
private |
|
private |
|
private |