#include <catch.hpp>
Public Member Functions | |
Float const & | get () const override |
bool | next () override |
RandomFloatingGenerator (Float a, Float b) | |
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 | |
Float | m_current_number |
std::uniform_real_distribution< Float > | m_dist |
std::minstd_rand | m_rand |
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 |