20#ifndef LIB_TEST_TEST_COLL_H
21#define LIB_TEST_TEST_COLL_H
24#include <unordered_map>
34 typedef std::vector<int>
VecI;
41 for (
uint i=0; i<NUM_ELMS; ++i)
48 typedef std::map<int,int>
MapII;
49 typedef std::multimap<int,int>
MMapII;
51 typedef std::unordered_map<int,int>
HMapII;
52 typedef std::unordered_multimap<int,int>
HMMapII;
60 for (
uint i=0; i<NUM_ELMS; ++i)
71 for (
uint i=0; i<NUM_ELMS; ++i)
72 for (
uint j=NUM_ELMS-i; j; --j)
73 map.insert (std::make_pair (i, j));
84 for (ITER ii(i); ii ; ++ii )
85 std::cout <<
"::" << *ii;
MAP getTestMap_int(const uint NUM_ELMS)
std::map< int, int > MapII
void pullOut(ITER const &i)
MUMAP getTestMultiMap_int(const uint NUM_ELMS)
std::multimap< int, int > MMapII
VEC getTestSeq_int(const uint NUM_ELMS)
std::unordered_multimap< int, int > HMMapII
std::unordered_map< int, int > HMapII
Implementation namespace for support and library code.
Test runner and basic definitions for tests.