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 GameIsNotFinishedAfterFirstMove() { bool isGameFinished = false; logic.GameFinished += () => isGameFinished = true; logic.MakeMove(Color.Red); Assert.IsFalse(logic.IsGameOver); Assert.IsFalse(isGameFinished); Assert.AreEqual(1, logic.GetPlayerScore(0)); }
See Also