Namespace: DeltaEngine.Scenes.Terminal.Tests
Assembly: DeltaEngine.Scenes.Terminal.Tests (in DeltaEngine.Scenes.Terminal.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Scenes.Terminal.Tests (in DeltaEngine.Scenes.Terminal.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void PressingCursorUpThenCursorDownLotsOfTimesClearsTheCommandLine() { if (keyboard == null) return; //ncrunch: no coverage PressKeys(new List<Key> { Key.D1, Key.Enter, Key.D2, Key.Enter, Key.CursorUp, Key.CursorUp, Key.CursorDown, Key.CursorDown }); Assert.AreEqual("> _", console.command.Text); }
See Also