Beispiel #1
0
        public void SetTotal_SetTotal_string()
        {
            int         total          = 0;
            string      word           = "test";
            WordCounter newWordCounter = new WordCounter(total, word, "");
            int         newTotal       = 1;

            newWordCounter.SetTotal(newTotal);
            Assert.AreEqual(newTotal, newWordCounter.GetTotal());
        }