Template Class RandomIntegerGenerator

Inheritance Relationships

Base Type

Class Documentation

template<typename Integer>
class RandomIntegerGenerator : public Catch::Generators::IGenerator<Integer>

Public Functions

inline RandomIntegerGenerator(Integer a, Integer b, std::uint32_t seed)
inline virtual Integer 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).