Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
memento-tie-test.cpp File Reference

unit test MementoTie_test More...

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>

Namespaces

namespace  steam
 Steam-Layer implementation namespace root.
 
namespace  steam::control
 Steam-Layer dispatcher, controller and administrative facilities.
 
namespace  steam::control::test
 
namespace  steam::control::test::anonymous_namespace{memento-tie-test.cpp}
 

Classes

class  MementoTie_test
 

Functions

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

Variables

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