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 CreateFromBoardData() { logic = new TwoHumanLogic(BoardTests.CreateBoardData()); logic.MakeMove(Color.Red); Assert.AreEqual(Color.Red, logic.Board.GetColor(0, 0)); Assert.AreEqual(1, logic.ActivePlayer); Assert.AreEqual(2, logic.GetPlayerScore(0)); }
See Also