FreeRTOS port on GAP8/RISC-V
|
Public Member Functions | |
RandomFloatingGenerator (Float a, Float b) | |
Float const & | get () const override |
bool | next () override |
Public Member Functions inherited from Catch::Generators::IGenerator< Float > | |
virtual | ~IGenerator ()=default |
Public Member Functions inherited from Catch::Generators::GeneratorUntypedBase | |
GeneratorUntypedBase ()=default | |
virtual | ~GeneratorUntypedBase () |
Private Attributes | |
std::minstd_rand | m_rand |
std::uniform_real_distribution < Float > | m_dist |
Float | m_current_number |
Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< Float > | |
using | type = Float |
|
inline |
|
inlineoverridevirtual |
Implements Catch::Generators::IGenerator< Float >.
|
inlineoverridevirtual |
Implements Catch::Generators::GeneratorUntypedBase.
|
private |
|
private |
|
private |