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 LifeLostLeadsToGameOver() { bool lost = false; var score = new Score(); score.GameOver += () => lost = true; var level = new Level(score); level.LifeLost(); level.LifeLost(); level.LifeLost(); Assert.True(lost); }
See Also