コード例 #1
0
        public void DowncaseAndTrimWord_DowncasesAndTrimsWord_String()
        {
            WordCounter newCounter = new WordCounter();

            newCounter.SetUserWord("  DOG  ");
            newCounter.DowncaseAndTrimWord();
            Assert.AreEqual("dog", newCounter.GetUserWord());
        }