public void TestWithPartialWordAgainstSouthEdgeReturnNull()
        {
            Coordinate coordinate = new Coordinate(1, 1);
            string     word       = "EHC";

            _searcher = new WordSearcher();

            Assert.IsNull(_searcher.CheckSouth(_board, coordinate, word));
        }
        public void TestWithPartialWordReturnNull()
        {
            Coordinate coordinate = new Coordinate(1, 0);
            string     word       = "BEA";

            _searcher = new WordSearcher();

            Assert.IsNull(_searcher.CheckSouth(_board, coordinate, word));
        }
        public void TestWithoutWordToTheSouthReturnNull()
        {
            Coordinate coordinate = new Coordinate(1, 1);
            string     word       = "AB";

            _searcher = new WordSearcher();

            Assert.IsNull(_searcher.CheckSouth(_board, coordinate, word));
        }
        public void TestWithCoordinateOnSouthEdgeReturnNull()
        {
            Coordinate coordinate = new Coordinate(1, 2);
            string     word       = "HBA";

            _searcher = new WordSearcher();

            Assert.IsNull(_searcher.CheckSouth(_board, coordinate, word));
        }
        public void TestWithWordToTheSouthReturnCoordinates()
        {
            Coordinate coordinate = new Coordinate(1, 1);
            string     word       = "EH";

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

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