예제 #1
0
 public void ReadTestFileWithCsvData()
 {
     using (var stream = TestLogFiles.OpenTestFileWithCsvData())
     {
         var results = new CsvLogReader <TestEvent>(stream, null, null).ReadLines().ToList();
         results.Should().BeEquivalentTo(ExpectedResults);
     }
 }
예제 #2
0
 public void ReadyEmptyTestFile()
 {
     using (var stream = TestLogFiles.OpenEmptyTestFile())
     {
         var results = new CsvLogReader <TestEvent>(stream, null, null).ReadLines().ToList();
         results.Should().Equal(new List <TestEvent>());
     }
 }