Lumiera  0.pre.03
»edit your freedom«
memento-tie-test.cpp File Reference

Go to the source code of this file.

Description

unit test MementoTie_test

Definition in file memento-tie-test.cpp.

#include "lib/test/run.hpp"
#include "lib/test/test-helper.hpp"
#include "steam/control/memento-tie.hpp"
#include <functional>
#include <cstdlib>

Classes

class  MementoTie_test
 

Functions

int capture (short param)
 
 LAUNCHER (MementoTie_test, "unit controller")
 Register this test class... More...
 
void undo (short param, int memento)
 

Variables

const size_t ALIGNMENT = sizeof(size_t)
 maximum additional storage maybe wasted due to alignment of the memento value within MementoTie
 
int testVal =0
 used to verify the effect of testFunc
 

Namespaces

 steam
 Steam-Layer implementation namespace root.
 
 steam::control
 Steam-Layer dispatcher, controller and administrative facilities.
 

Function Documentation

◆ LAUNCHER()

steam::control::test::LAUNCHER ( MementoTie_test  ,
"unit controller"   
)

Register this test class...