Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
test-coll.hpp File Reference

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

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>

Namespaces

namespace  lib
 Implementation namespace for support and library code.
 
namespace  lib::test
 Unit tests for the Lumiera support library.
 

Typedefs

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

Functions

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