public async Task Parse() { var result = await instance.Parse(new ParsingRequest(fileHowTo, ParsingType.OCR, 10)).ConfigureAwait(false); Assert.IsNotNull(result); Assert.AreEqual(5, result.Document.Pages.Length); Assert.AreEqual(6133, result.Document.Pages[0].Blocks[0].Text.Length); }
public void Parse() { var result = instance.Parse(); Assert.IsNotNull(result); Assert.AreEqual(4717, result.Length); }