Namespace: Drench.Tests.Games
Assembly: Drench.Tests (in Drench.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: Drench.Tests (in Drench.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void ClickingSquareAfterGameOverExits() { bool hasExited = false; game.Exited += () => hasExited = true; MakeMovesThatFinishGame(); ClickMouse(Vector2D.Half); Assert.IsTrue(hasExited); }
See Also