Lumiera  0.pre.03
»edit your freedom«
allocation-cluster-test.cpp File Reference

Go to the source code of this file.

Description

unit test AllocationCluster_test

Definition in file allocation-cluster-test.cpp.

#include "lib/test/run.hpp"
#include "lib/test/test-helper.hpp"
#include "lib/util.hpp"
#include "lib/util-foreach.hpp"
#include "lib/allocation-cluster.hpp"
#include "lib/scoped-holder.hpp"
#include <vector>
#include <limits>
#include <boost/lexical_cast.hpp>

Classes

class  AllocationCluster_test
 
class  Dummy< i >
 

Typedefs

typedef vector< PCluster > ClusterList
 
typedef void() Invoker(AllocationCluster &, uint)
 
typedef ScopedHolder< AllocationCluster > PCluster
 

Functions

void fillIt (PCluster &clu)
 
 LAUNCHER (AllocationCluster_test, "unit common")
 
template<uint i>
void place_object (AllocationCluster &clu, uint id)
 
char truncChar (uint x)
 

Variables

long checksum = 0
 
Invoker * invoke [20]
 
uint NUM_CLUSTERS = 5
 
uint NUM_FAMILIES = 5
 
uint NUM_OBJECTS = 500
 
bool randomFailures = false
 

Namespaces

 lib
 Implementation namespace for support and library code.