示例#1
0
        public void TestOption3_File()
        {
            List <Element> result = new List <Element>();

            reader = new Option3Reader();

            sw.Start();
            for (int i = 0; i < iterations; i++)
            {
                var read = reader.GetAllFromFile(filename);
                result.AddRange(read);
            }
            sw.Stop();

            Assert.IsNotNull(result);
            Assert.AreNotEqual(0, result.Count);
            Debug.WriteLine(sw.Elapsed.ToString());
        }