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 BottomHalfClickDropsBlockFast() { game.StartGame(); InitializeBlocks(game.Controller, content); mockMouse.SetNativePosition(new Vector2D(0.5f, 0.6f)); mockMouse.SetButtonState(MouseButton.Left, State.Pressing); AdvanceTimeAndUpdateEntities(0.01f); Assert.IsTrue(game.Controller.IsFallingFast); }
See Also