Namespace: Breakout.Tests
Assembly: Breakout.Tests (in Breakout.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: Breakout.Tests (in Breakout.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void RemoveBrick() { var level = Resolve<Level>(); Assert.AreEqual(4, level.BricksLeft); var brick = level.GetBrickAt(0.25f, 0.25f); Assert.IsTrue(brick.IsVisible); brick.IsVisible = false; Assert.AreEqual(3, level.BricksLeft); Assert.IsNull(level.GetBrickAt(0.25f, 0.25f)); }
See Also