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