コード例 #1
0
        public void SetWord_SetWord_string()
        {
            int         total          = 0;
            string      word           = "test";
            WordCounter newWordCounter = new WordCounter(total, word, "");
            string      updatedWord    = "wow";

            newWordCounter.SetWord(updatedWord);
            Assert.AreEqual(updatedWord, newWordCounter.GetWord());
        }