예제 #1
0
        public void CountSpaces()
        {
            int counted = 21;
            Dictionary <char, int> output = CountLetters.CountTheLetters(SomeDrWhoQuote);

            Assert.AreEqual(counted, output[' ']);
        }
예제 #2
0
        public void LetterCountIntheEnd()
        {
            int counted = 5;
            Dictionary <char, int> output = CountLetters.CountTheLetters(SomeDrWhoQuote);

            Assert.AreEqual(counted, output['l']);
        }