public void GetHorizontalWordTilesAtCoordinates_WordHelloSetAtMiddleOfRow_AssertThatFullWordIsRetrievedByLookingAtAnyOfTheInvolvedBoardTiles()
        {
            Board board = new(rowCount : 1, columnCount : 7);

            board.PlaceCharTile(X: 1, Y: 2, c: new CharTile('H'));
            board.PlaceCharTile(X: 1, Y: 3, c: new CharTile('E'));
            board.PlaceCharTile(X: 1, Y: 4, c: new CharTile('L'));
            board.PlaceCharTile(X: 1, Y: 5, c: new CharTile('L'));
            board.PlaceCharTile(X: 1, Y: 6, c: new CharTile('O'));

            const string        wordToLookFor = "HELLO";
            HorizontalBoardWord horizontalBoardWord;

            BoardWordRetriever boardWordRetriever = new BoardWordRetriever(board);

            horizontalBoardWord = boardWordRetriever.GetHorizontalWordTilesAtCoordinates(1, 2);
            Assert.IsTrue(horizontalBoardWord.GetWord().Equals(wordToLookFor));

            horizontalBoardWord = boardWordRetriever.GetHorizontalWordTilesAtCoordinates(1, 3);
            Assert.IsTrue(horizontalBoardWord.GetWord().Equals(wordToLookFor));

            horizontalBoardWord = boardWordRetriever.GetHorizontalWordTilesAtCoordinates(1, 4);
            Assert.IsTrue(horizontalBoardWord.GetWord().Equals(wordToLookFor));

            horizontalBoardWord = boardWordRetriever.GetHorizontalWordTilesAtCoordinates(1, 5);
            Assert.IsTrue(horizontalBoardWord.GetWord().Equals(wordToLookFor));

            horizontalBoardWord = boardWordRetriever.GetHorizontalWordTilesAtCoordinates(1, 6);
            Assert.IsTrue(horizontalBoardWord.GetWord().Equals(wordToLookFor));
        }
        public void GetVerticalWordTilesAtCoordinates_WordHelloSetAtEndOfColumn_AssertThatFullWordIsRetrievedByLookingAtAnyOfTheInvolvedBoardTiles()
        {
            Board board = new(rowCount : 6, columnCount : 1);

            board.PlaceCharTile(X: 2, Y: 1, c: new CharTile('H'));
            board.PlaceCharTile(X: 3, Y: 1, c: new CharTile('E'));
            board.PlaceCharTile(X: 4, Y: 1, c: new CharTile('L'));
            board.PlaceCharTile(X: 5, Y: 1, c: new CharTile('L'));
            board.PlaceCharTile(X: 6, Y: 1, c: new CharTile('O'));

            const string      wordToLookFor = "HELLO";
            VerticalBoardWord VerticalBoardWord;

            BoardWordRetriever boardWordRetriever = new BoardWordRetriever(board);

            VerticalBoardWord = boardWordRetriever.GetVerticalWordTilesAtCoordinates(2, 1);
            Assert.IsTrue(VerticalBoardWord.GetWord().Equals(wordToLookFor));

            VerticalBoardWord = boardWordRetriever.GetVerticalWordTilesAtCoordinates(3, 1);
            Assert.IsTrue(VerticalBoardWord.GetWord().Equals(wordToLookFor));

            VerticalBoardWord = boardWordRetriever.GetVerticalWordTilesAtCoordinates(4, 1);
            Assert.IsTrue(VerticalBoardWord.GetWord().Equals(wordToLookFor));

            VerticalBoardWord = boardWordRetriever.GetVerticalWordTilesAtCoordinates(5, 1);
            Assert.IsTrue(VerticalBoardWord.GetWord().Equals(wordToLookFor));

            VerticalBoardWord = boardWordRetriever.GetVerticalWordTilesAtCoordinates(6, 1);
            Assert.IsTrue(VerticalBoardWord.GetWord().Equals(wordToLookFor));
        }