29using std::tuple_size_v;
35 using VecI = std::vector<uint>;
45 numbers.reserve(count);
47 numbers.push_back(count--);
78 VecI container = someNumbz (5);
79 RangeI iterator(container.begin(), container.end());
81 CHECK (not
isnil (iterator));
82 auto tup = seqTuple<5> (iterator);
83 CHECK (
isnil (iterator));
84 CHECK (5 == tuple_size_v<
decltype(tup)>);
86 auto& [g,f,e,d,c] = tup;
94 CHECK (55 == std::get<0> (tup));
95 CHECK (55 == container.front());
Accessing a STL element range through a Lumiera forward iterator, An instance of this iterator adapte...
void verify_unpackIterator()
Helper template(s) for creating Lumiera Forward Iterators.
Test runner and basic definitions for tests.
VecI someNumbz(uint count)
lib::RangeIter< VecI::iterator > RangeI
bool isnil(lib::time::Duration const &dur)
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
Some small helpers and convenience shortcuts to simplify working with tuples and sequences (given by ...
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...