Example #1
0
        public void ProcessWords_TestOnSetOfWords(string[] words)
        {
            var reader    = new WordReaderMockup(words);
            var processor = new WordProcessorMockup();

            Program.ProcessWords(reader, processor);

            CollectionAssert.AreEqual(words, processor.Words);
        }
Example #2
0
        public void ProcessWords_TestOnSetOfWords(string[] words)
        {
            var reader = new WordReaderMockup(words);
            var processor = new WordProcessorMockup();

            Program.ProcessWords(reader, processor);

            CollectionAssert.AreEqual(words, processor.Words);
        }