Exemplo n.º 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);
        }
Exemplo n.º 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);
        }