FreeRTOS port on GAP8/RISC-V
|
Public Member Functions | |
RandomIntegerGenerator (Integer a, Integer b) | |
Integer const & | get () const override |
bool | next () override |
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 | |
std::minstd_rand | m_rand |
std::uniform_int_distribution < Integer > | m_dist |
Integer | m_current_number |
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 |