Namespace: Drench.Tests.Logics
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] public void WhenBoardIsAllTheSameColorGameIsFinished() { bool isGameFinished = false; logic.GameFinished += () => isGameFinished = true; MakeWinningMove(); Assert.IsTrue(logic.IsGameOver); Assert.IsTrue(isGameFinished); Assert.AreEqual(BoardTests.Width * BoardTests.Height, logic.GetPlayerScore(0)); }
See Also