Exemplo n.º 1
0
        public void TestGetWordCountWithEmptyFile()
        {
            InputFile file = InputFile.GetInputFile(TestFileNameContents.EmptyFileName);

            Assert.AreEqual(0, file.GetWordCount());
        }
Exemplo n.º 2
0
        public void TestGetWordCount()
        {
            InputFile file = InputFile.GetInputFile(TestFileNameContents.Example2FileName);

            Assert.AreEqual(21, file.GetWordCount());
        }