Пример #1
0
        public void TestXmlCount()
        {
            XmlAdapterClass adpXml = new XmlAdapterClass(@"C:/Temp/TestData.xml");
            ProcessData p = new ProcessData(adpXml);

            Assert.AreEqual(7, p.processDataReader());
        }
Пример #2
0
        public void TestFileCount()
        {
            StreamDataReader streamDataReader = new StreamDataReader(@"C:/Temp/TestData.txt");
            ProcessData p = new ProcessData(streamDataReader);

            Assert.AreEqual(13, p.processDataReader());
        }