public void TestWithPartialWordAgainstSouthWestEdgeReturnNull()
        {
            Coordinate coordinate = new Coordinate(1, 1);
            string     word       = "EGJ";

            _searcher = new WordSearcher();

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

            _searcher = new WordSearcher();

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

            _searcher = new WordSearcher();

            Assert.IsNull(_searcher.CheckSouthWest(_board, coordinate, word));
        }
        public void TestWithCoordinateOnSouthWestEdgeReturnNull()
        {
            Coordinate coordinate = new Coordinate(0, 2);
            string     word       = "GBA";

            _searcher = new WordSearcher();

            Assert.IsNull(_searcher.CheckSouthWest(_board, coordinate, word));
        }
        public void TestWithWordToTheSouthWestReturnCoordinates()
        {
            Coordinate coordinate = new Coordinate(1, 1);
            string     word       = "EG";

            _searcher = new WordSearcher();
            _results  = _searcher.CheckSouthWest(_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(2, _results[1].Y);
        }