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

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

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