Exemplo n.º 1
0
        public void HowManyTimesItRepeated_WordandSentence_Result()
        {
            WordCounter testWordCounter = new WordCounter("a", "Pick a random string from a string array");

            testWordCounter.ChangeToLowerCase();
            testWordCounter.ChangeSentenceToWords();

            Assert.AreEqual(2, testWordCounter.HowManyTimesItRepeated());
        }