public void TestWithPartialWordAgainstSouthEastEdgeReturnNull()
        {
            Coordinate coordinate = new Coordinate(1, 1);
            string     word       = "EIJ";

            _searcher = new WordSearcher();

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

            _searcher = new WordSearcher();

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

            _searcher = new WordSearcher();

            Assert.IsNull(_searcher.CheckSouthEast(_board, coordinate, word));
        }
        public void TestWithCoordinateOnSouthEastEdgeReturnNull()
        {
            Coordinate coordinate = new Coordinate(2, 2);
            string     word       = "IBC";

            _searcher = new WordSearcher();

            Assert.IsNull(_searcher.CheckSouthEast(_board, coordinate, word));
        }
        public void TestWithWordToTheSouthEastReturnCoordinates()
        {
            Coordinate coordinate = new Coordinate(1, 1);
            string     word       = "EI";

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

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