Пример #1
0
        public void Test_if_Question_Extraction_Fail(string questionsString)
        {
            ProcessWiki processWiki = new ProcessWiki
            {
                Questions = null,
            };
            var result = processWiki.ExtractQuestions();

            Assert.IsFalse(result);
        }
Пример #2
0
        public void Test_if_Question_Extraction_pass(string questionsString)
        {
            ProcessWiki processWiki = new ProcessWiki
            {
                Questions = questionsString,
            };
            var result = processWiki.ExtractQuestions();

            Assert.IsTrue(result);
        }