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 CantMoveRightAtRightWall() { Assert.IsFalse(sounds.BlockCouldNotMove.IsAnyInstancePlaying); controller.FallingBlock = new Block(displayMode, content, new Vector2D(11, 1)); controller.MoveBlockRightIfPossible(); Assert.AreEqual(11, controller.FallingBlock.Left); Assert.IsTrue(sounds.BlockCouldNotMove.IsAnyInstancePlaying); }
See Also