Example #1
0
 private static int GetNonZeroByteCount(Input type, string filePath, LibFixture fixture)
 {
     using (var reader = fixture.GetDocReader(type, filePath, null, 1000, 1000))
     {
         using (var pageReader = reader.GetPageReader(0))
         {
             return(pageReader.GetImage().Count(x => x != 0));
         }
     }
 }
Example #2
0
 public DocReaderTests(LibFixture fixture)
 {
     _fixture = fixture;
 }
Example #3
0
 public MergeTests(LibFixture fixture)
 {
     _fixture = fixture;
 }
Example #4
0
 public PageReaderTests(LibFixture fixture)
 {
     _fixture = fixture;
 }
Example #5
0
 public SplitTests(LibFixture fixture)
 {
     _fixture = fixture;
 }
Example #6
0
 public UnlockTests(LibFixture fixture)
 {
     _fixture = fixture;
 }
Example #7
0
 public JpegTests(LibFixture fixture)
 {
     _fixture = fixture;
 }