public void SearchStringResultSearchDiagUpRightToLeftTest()
        {
            WordSearchLibrary.Search.SearchDiagUpRightToLeft searchDiagUpRightToLeft = new WordSearchLibrary.Search.SearchDiagUpRightToLeft(6, 6);
            string result = searchDiagUpRightToLeft.SearchStringResult(8, "IT", "XTBFAF" + "NHIJXX");

            Assert.AreEqual("IT: (2,1),(1,0)", result);
        }
        public void SubStringGetSearchDiagUpRightToLeftTest()
        {
            WordSearchLibrary.Search.SearchDiagUpRightToLeft searchDiagUpRightToLeft = new WordSearchLibrary.Search.SearchDiagUpRightToLeft(6, 6);
            string result = searchDiagUpRightToLeft.SubStringGet(8, 2, "XTBFAF" + "NHIJXX");

            Assert.AreEqual("IT", result);
        }
        public void CheckSearchLimitsSearchDiagUpRightToLeftTest()
        {
            WordSearchLibrary.Search.SearchDiagUpRightToLeft searchDiagUpRightToLeft = new WordSearchLibrary.Search.SearchDiagUpRightToLeft(6, 6);
            bool result = searchDiagUpRightToLeft.CheckSearchLimits(9, "IT", "XBTFAF" + "NHJIXX");

            Assert.AreEqual(true, result);
        }
        public void CalculateCorrdinatestSearchDiagUpRightToLeftTest()
        {
            WordSearchLibrary.Search.SearchDiagUpRightToLeft searchDiagUpRightToLeft = new WordSearchLibrary.Search.SearchDiagUpRightToLeft(6, 6);
            searchDiagUpRightToLeft.ColunmPosition = 2;
            searchDiagUpRightToLeft.RowPosition    = 1;
            string result = searchDiagUpRightToLeft.CalculateCorrdinates(8, 2);

            Assert.AreEqual("(2,1),(1,0)", result);
        }