Ejemplo n.º 1
0
        public void AddCount_CheckStringArrayForWordMatches_True()
        {
            RepeatCounter testCounter = new RepeatCounter("snail", "a snail with a pail is a pail snail");

            string[] testArray = testCounter.SplitString(testCounter.MultipleWords);
            Assert.AreEqual(2, testCounter.AddCount(testArray));
        }