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 FillingHistoryRemovesTheFirstHistoryLine() { if (keyboard == null) return; //ncrunch: no coverage PressKeys(new List<Key> { Key.D1, Key.Enter, Key.D2, Key.Enter, Key.D3, Key.Enter, Key.D4, Key.Enter }); Assert.AreEqual( "> 2\nError: Unknown console command '2'\n" + "> 3\nError: Unknown console command '3'\n" + "> 4\nError: Unknown console command '4'", console.history.Text); }
See Also