Exemplo n.º 1
0
        public void Test_if_Sentence_Extraction_Fail(string sentencesString)
        {
            ProcessWiki processWiki = new ProcessWiki
            {
                Sentences = ""
            };
            bool result = processWiki.ExtractSentences();

            Assert.IsFalse(result);
        }
Exemplo n.º 2
0
        public void Test_if_Sentence_Extraction_Pass(string sentencesString)
        {
            ProcessWiki processWiki = new ProcessWiki
            {
                Sentences = sentencesString
            };
            bool result = processWiki.ExtractSentences();

            Assert.IsTrue(result);
        }