private static TinyStateMachine <DoorState, DoorEvents> .Storage[] GetTokens(TinyStateMachine <DoorState, DoorEvents> .Machine <TinyStateMachine <DoorState, DoorEvents> .Storage> machine)
        {
            var tokens = new TinyStateMachine <DoorState, DoorEvents> .Storage[ParallelTestCount];

            for (int i = 0; i < ParallelTestCount; i++)
            {
                tokens[i] = machine.CreateMemory();
            }
            return(tokens);
        }
 internal TransitionCount(TinyStateMachine <DoorState, DoorEvents> .Machine <TransitionCount> stateMachine)
 {
     Memory = stateMachine.CreateMemory();
 }
 internal DoorMemory(TinyStateMachine <DoorState, DoorEvents> .Machine <DoorMemory> stateMachine)
 {
     Memory = stateMachine.CreateMemory();
 }