예제 #1
0
        public void DowncaseAndScrubPhrase_DowncasesUserPhrase_True()
        {
            RepeatCounter newCounter = new RepeatCounter();
            string        phrase     = "This is the end, the END my friend.";

            newCounter.SetUserPhrase(phrase);
            newCounter.DowncaseAndScrubPhrase();
            string expectedOutput = "this is the end the end my friend";

            Assert.AreEqual(expectedOutput, newCounter.GetScrubbedPhrase());
        }