예제 #1
0
파일: UnitTest1.cs 프로젝트: helgihaf/Alpha
 public void ShouldLoadLogFile()
 {
     var view = new View(@"LogFile.log");
     var cursor = view.CreateCursor();
     cursor.Locate(Offset.End, 20);
     var lines = cursor.ReadLines(20);
     Assert.IsTrue(lines.Length >= 19);
 }