Namespace: Blocks.Tests
Assembly: Blocks.Tests (in Blocks.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: Blocks.Tests (in Blocks.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void CursorDownDropsBlockFast() { game.StartGame(); InitializeBlocks(game.Controller, content); mockKeyboard.SetKeyboardState(Key.CursorDown, State.Pressing); AdvanceTimeAndUpdateEntities(0.01f); Assert.IsTrue(game.Controller.IsFallingFast); }
See Also