Namespace: Blocks
Assembly: Blocks (in Blocks.exe) Version: 1.1.1.0 (1.1.1)
Tests: Blocks.Tests.GridTests
1 unit tests call Blocks.Grid.Clear
Assembly: Blocks (in Blocks.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Remarks
Examples
[Test, Ignore] public void Clear() { //using (NUnit.Framework.Randomizer.Use(new FixedRandom(new[] { 0.8f, 0.0f }))) //{ grid.AffixBlock(new Block(displayMode, content, Vector2D.One)); Assert.AreEqual(4, ControllerTests.CountBricks(grid)); AdvanceTimeAndUpdateEntities(); grid.Clear(); Assert.AreEqual(0, ControllerTests.CountBricks(grid)); //}
See Also