Lumiera  0.pre.03
»edit your freedom«
polymorphic-value-test.cpp File Reference

Go to the source code of this file.

Description

unit test PolymorphicValue_test

Definition in file polymorphic-value-test.cpp.

#include "lib/test/run.hpp"
#include "lib/test/test-helper.hpp"
#include "lib/util-foreach.hpp"
#include "lib/polymorphic-value.hpp"
#include <vector>

Classes

struct  Imp< ii, BASE >
 Template to generate concrete implementation classes. More...
 
struct  Interface
 
class  PolymorphicValue_test
 

Typedefs

using PolyVal = PolymorphicValue< Interface, MAX_SIZ >
 

Functions

 LAUNCHER (PolymorphicValue_test, "unit common")
 

Variables

const size_t _ALIGN_ = sizeof(size_t)
 maximum additional storage maybe wasted due to alignment of the contained object within the embedded Holder/Buffer
 
long _callSum = 0
 
long _checkSum = 0
 
uint _created = 0
 
const uint MAX_ELM = 111
 
const uint MAX_RAND = 1000
 
const uint MAX_SIZ = sizeof(long[MAX_ELM])
 

Namespaces

 lib
 Implementation namespace for support and library code.