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 RightHalfTouchMovesBlockRight() { game.StartGame(); InitializeBlocks(game.Controller, content); mockTouch.SetTouchState(0, State.Pressing, new Vector2D(0.65f, 0.0f)); AdvanceTimeAndUpdateEntities(0.01f); Assert.AreEqual(IndexOfSpawnColumn, game.Controller.FallingBlock.Left); }
See Also