public char ValidateTest([PexAssumeUnderTest] GameWinnerService target, char[,] gameBoard)
        {
            char result = target.Validate(gameBoard);

            return(result);
            // TODO: add assertions to method GameWinnerServiceTest.ValidateTest(GameWinnerService, Char[,])
        }
        public void NeitherPlayerHasThreeInArrow()
        {
            IGameWinnerService gameWinnerService;

            gameWinnerService = new GameWinnerService();
            const char expected  = ' ';
            var        gameBoard = new char[3, 3] {
                { ' ', ' ', ' ' },
                { ' ', ' ', ' ' },
                { ' ', ' ', ' ' }
            };
            var actual = gameWinnerService.Validate(gameBoard);

            Assert.AreEqual(expected, actual);
        }
        public void PlayerWithAllSpacesInTopRowIsWinner()
        {
            IGameWinnerService gameWinnerService;

            gameWinnerService = new GameWinnerService();
            const char expected  = 'X';
            var        gameBoard = new char[3, 3] {
                { expected, expected, expected },
                { ' ', ' ', ' ' },
                { ' ', ' ', ' ' }
            };
            var actual = gameWinnerService.Validate(gameBoard);

            Assert.AreEqual(expected.ToString(), actual.ToString());
        }