#include <catch.hpp>
Public Member Functions | |
ChunkGenerator (size_t size, GeneratorWrapper< T > generator) | |
std::vector< T > const & | get () const override |
bool | next () override |
Public Member Functions inherited from Catch::Generators::IGenerator< std::vector< T > > | |
virtual | ~IGenerator ()=default |
Public Member Functions inherited from Catch::Generators::GeneratorUntypedBase | |
GeneratorUntypedBase ()=default | |
virtual | ~GeneratorUntypedBase () |
Private Attributes | |
std::vector< T > | m_chunk |
size_t | m_chunk_size |
GeneratorWrapper< T > | m_generator |
bool | m_used_up = false |
Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< std::vector< T > > | |
using | type = std::vector< T > |
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements Catch::Generators::GeneratorUntypedBase.
|
private |
|
private |
|
private |
|
private |