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));
IterQueue< T > elements(T const &elm)
convenience free function to build an iterable sequence
Conveniently iterable stack and queue containers.
#define VERIFY_ERROR(ERROR_ID, ERRONEOUS_STATEMENT)
Macro to verify that a statement indeed raises an exception.
Implementation namespace for support and library code.
A Queue which can be pulled by iterating.
Simplistic test class runner.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
A collection of frequently used helper functions to support unit testing.