ConsoleTests PressingCursorUpTwiceGetsTheLastButOneCommand Method Delta Engine Documentation

Namespace: DeltaEngine.Scenes.Terminal.Tests
Assembly: DeltaEngine.Scenes.Terminal.Tests (in DeltaEngine.Scenes.Terminal.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void PressingCursorUpTwiceGetsTheLastButOneCommand()
Examples

[Test, CloseAfterFirstFrame]
public void PressingCursorUpTwiceGetsTheLastButOneCommand()
{
    if (keyboard == null)
        return; //ncrunch: no coverage
    PressKeys(new List<Key> { Key.D1, Key.Enter, Key.D2, Key.Enter, Key.CursorUp, Key.CursorUp });
See Also