Lumiera  0.pre.03
»edit your freedom«
iter-adapter-stl-test.cpp File Reference

Go to the source code of this file.

Description

unit test IterAdapterSTL_test

Definition in file iter-adapter-stl-test.cpp.

#include "lib/test/run.hpp"
#include "lib/test/test-coll.hpp"
#include "lib/format-cout.hpp"
#include "lib/util.hpp"
#include "lib/iter-adapter-stl.hpp"
#include <boost/lexical_cast.hpp>
#include <vector>

Classes

class  IterAdapterSTL_test
 

Macros

#define PRINT_FUNC(_F_NAME_, _F_TYPE_)   cout << "-----"<<STRINGIFY(_F_NAME_)<<"---" << util::typeStr<_F_TYPE_>() << endl;
 print descriptive separator to STDOUT
 
#define TEST_ITER(_CTOR_, _ARG_)
 test an iterator: create it by calling a constructor function and then pull out all contents and print them to STDOUT More...
 

Functions

 LAUNCHER (IterAdapterSTL_test, "unit common")
 

Variables

uint NUM_ELMS = 10
 

Namespaces

 lib
 Implementation namespace for support and library code.
 

Macro Definition Documentation

◆ TEST_ITER

#define TEST_ITER (   _CTOR_,
  _ARG_ 
)
Value:
cout << STRINGIFY(_CTOR_) ;\
pullOut (_CTOR_ _ARG_) ;\
cout << endl;
#define STRINGIFY(TOKEN)
this macro wraps its parameter into a cstring literal
Definition: util.hpp:486

test an iterator: create it by calling a constructor function and then pull out all contents and print them to STDOUT

Definition at line 53 of file iter-adapter-stl-test.cpp.