public void Equality() { var p1 = new List <Game.Position>(); p1.Add(new Game.Position(1)); var p2 = new List <Game.Position>(); p2.Add(new Game.Position(1)); var a = new Game.WinningCondition(1, p1); var b = new Game.WinningCondition(1, p2); Assert.That(a, Is.EqualTo(b)); }
public void UpdateWinningConditions() { winningConditions = WinningCondition.FromGameState(board); }