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/allocation-cluster.hpp"
#include "lib/test/diagnostic-output.hpp"
#include "lib/format-util.hpp"
#include "lib/iter-explorer.hpp"
#include "lib/util.hpp"
#include <functional>
#include <limits>
#include <vector>
#include <array>
#include <set>

Classes

class  AllocationCluster_test
 
class  Dummy< i >
 

Functions

array< function< void(AllocationCluster &, uchar)>, NUM_TYPES > buildTrampoline ()
 
void fill (AllocationCluster &clu)
 
 LAUNCHER (AllocationCluster_test, "unit common")
 
template<uint i>
void place_object (AllocationCluster &clu, uchar id)
 
uint sum (uint n)
 

Variables

int64_t checksum = 0
 
const size_t EXTSIZ = AllocationCluster::EXTENT_SIZ
 
const uint NUM_CLUSTERS = 5
 
const uint NUM_OBJECTS = 500
 
const uint NUM_TYPES = 20
 

Namespaces

 lib
 Implementation namespace for support and library code.