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 DropFastAffixesBlocksQuickly() { controller.IsFallingFast = true; controller.FallingBlock = new Block(displayMode, content, Vector2D.One); controller.UpcomingBlock = new Block(displayMode, content, Vector2D.One); Assert.AreEqual(0, CountBricks(grid)); AdvanceTimeAndUpdateEntities(2.5f); Assert.GreaterOrEqual(CountBricks(grid), 4); }
See Also