Exemplo n.º 1
0
        public void SetSentence_SetSentence_String()
        {
            int         total           = 0;
            string      sentence        = "I am a sentence";
            WordCounter newWordCounter  = new WordCounter(total, "", sentence);
            string      updatedSentence = "I love chai";

            newWordCounter.SetSentence(updatedSentence);
            Assert.AreEqual(updatedSentence, newWordCounter.GetSentence());
        }