58 implicitTestState += dur;
64 return implicitTestState;
70 implicitTestState = oldVal;
101 implicitTestState = five;
105 .captureUndo (capture)
106 .undoOperation (undoIt)
111 TimeSpan testSpan (randTime(), randTime());
112 Rec argMsg {testSpan};
116 CHECK (not ourCmd.canExec());
118 ourCmd.bindArg (argMsg);
119 CHECK (ourCmd.canExec());
123 CHECK (implicitTestState == five +
Duration(testSpan));
127 CHECK (implicitTestState == five);
Helper class used solely for defining a Command-Object.
a mutable time value, behaving like a plain number, allowing copy and re-accessing ...
static Command get(Symbol cmdID)
Access existing command for use.
Steam-Layer implementation namespace root.
Lumiera's internal time value datatype.
Simple test class runner.
Generic building block for tree shaped (meta)data structures.
A collection of frequently used helper functions to support unit testing.
Handle object representing a single Command instance to be used by client code.
Duration is the internal Lumiera time metric.
lib::time::Time randTime()
create a random but not insane Time value between 1s ...
A time interval anchored at a specific point in time.
Actually defining a command and binding it to execution parameters.
a family of time value like entities and their relationships.
object-like record of data.
basic constant internal time value.