#include <catch.hpp>
Public Types | |
using | type = T |
Public Member Functions | |
RepeatGenerator (size_t repeats, GeneratorWrapper< T > &&generator) | |
T const & | get () const override |
bool | next () override |
Private Attributes | |
GeneratorWrapper< T > | m_generator |
std::vector< T > | m_returned |
size_t | m_target_repeats |
size_t | m_current_repeat = 0 |
size_t | m_repeat_index = 0 |
|
inherited |
|
inline |
|
inlineoverridevirtual |
Implements Catch::Generators::IGenerator< T >.
|
inlineoverridevirtual |
Implements Catch::Generators::GeneratorUntypedBase.
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |