Exemplo n.º 1
0
        public void BeTheSameAsOtherGame_GivenBothHaveNotStarted()
        {
            var game      = new TicTakToeGame();
            var otherGame = new TicTakToeGame();

            game.Should().Be(otherGame);
        }
Exemplo n.º 2
0
        public void NotBeTheSameAsOtherGame_GivenOneHasBeenPlayed()
        {
            var game      = new TicTakToeGame();
            var otherGame = new TicTakToeGame();

            otherGame.PlayX(RowColumn.TopLeft);

            game.Should().NotBe(otherGame);
        }
Exemplo n.º 3
0
        public void NotBeTheSameAsOtherGame_GivenDifferentPlays()
        {
            var otherGame = new TicTakToeGame();
            var game      = new TicTakToeGame();

            game.PlayX(RowColumn.TopLeft);
            game.PlayX(RowColumn.TopMiddle);

            game.Should().NotBe(otherGame);
        }