33 using LERR_(ITER_EXHAUST);
58 CHECK (isnil (queue));
67 CHECK (!isnil (queue));
73 CHECK (3 == queue.
pop());
77 CHECK (isnil (queue));
85 queue = build(queue).usingSequence (
elements (23,45));
97 CHECK (isnil (queue));
Conveniently iterable stack and queue containers.
Implementation namespace for support and library code.
IterQueue< T > elements(T const &elm)
convenience free function to build an iterable sequence
Test runner and basic definitions for tests.
bool isnil(lib::time::Duration const &dur)
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
A Queue which can be pulled by iterating.
IterQueue & feed(TY const &elm)
A collection of frequently used helper functions to support unit testing.
#define VERIFY_ERROR(ERROR_ID, ERRONEOUS_STATEMENT)
Macro to verify that a statement indeed raises an exception.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...