public void TestWithPartialWordAgainstNorthWestEdgeReturnNull()
        {
            Coordinate coordinate = new Coordinate(1, 1);
            string     word       = "EAC";

            _searcher = new WordSearcher();

            Assert.IsNull(_searcher.CheckNorthWest(_board, coordinate, word));
        }
        public void TestWithPartialWordReturnNull()
        {
            Coordinate coordinate = new Coordinate(2, 2);
            string     word       = "IEB";

            _searcher = new WordSearcher();

            Assert.IsNull(_searcher.CheckNorthWest(_board, coordinate, word));
        }
        public void TestWithoutWordToTheNorthWestReturnNull()
        {
            Coordinate coordinate = new Coordinate(1, 1);
            string     word       = "AC";

            _searcher = new WordSearcher();

            Assert.IsNull(_searcher.CheckNorthWest(_board, coordinate, word));
        }
        public void TestWithCoordinateOnNorthWestEdgeReturnNull()
        {
            Coordinate coordinate = new Coordinate(0, 0);
            string     word       = "BC";

            _searcher = new WordSearcher();

            Assert.IsNull(_searcher.CheckNorthWest(_board, coordinate, word));
        }
        public void TestWithWordToTheNorthWestReturnCoordinates()
        {
            Coordinate coordinate = new Coordinate(1, 1);
            string     word       = "EA";

            _searcher = new WordSearcher();
            _results  = _searcher.CheckNorthWest(_board, coordinate, word);

            Assert.AreEqual(2, _results.Count);
            Assert.AreEqual(1, _results[0].X);
            Assert.AreEqual(1, _results[0].Y);
            Assert.AreEqual(0, _results[1].X);
            Assert.AreEqual(0, _results[1].Y);
        }