Lumiera  0.pre.03
»edit your freedom«
test-coll.hpp File Reference

Go to the source code of this file.

Description

some bits of unit test helper code to fabricate collections with test data

Definition in file test-coll.hpp.

#include <unordered_map>
#include <iostream>
#include <vector>
#include <map>

Typedefs

typedef std::unordered_map< int, int > HMapII
 
typedef std::unordered_multimap< int, int > HMMapII
 
typedef std::map< int, int > MapII
 
typedef std::multimap< int, int > MMapII
 
typedef std::vector< int > VecI
 

Functions

template<class MAP >
MAP getTestMap_int (const uint NUM_ELMS)
 
template<class MUMAP >
MUMAP getTestMultiMap_int (const uint NUM_ELMS)
 
template<class VEC >
VEC getTestSeq_int (const uint NUM_ELMS)
 
template<class ITER >
void pullOut (ITER const &i)
 

Namespaces

 lib
 Implementation namespace for support and library code.