Exemple #1
0
    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));
    }
Exemple #2
0
 public void UpdateWinningConditions()
 {
     winningConditions = WinningCondition.FromGameState(board);
 }