Template Class RandomFloatingGenerator

Inheritance Relationships

Base Type

Class Documentation

template<typename Float>
class RandomFloatingGenerator : public Catch::Generators::IGenerator<Float>

Public Functions

inline RandomFloatingGenerator(Float a, Float b, std::uint32_t seed)
inline virtual Float const &get() const override
inline virtual bool next() override

Attempts to move the generator to the next element

Returns true iff the move succeeded (and a valid element can be retrieved).