mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-11-24 08:47:01 +08:00
Add test to ensure #822 is fixed
This commit is contained in:
@@ -7,6 +7,21 @@
|
||||
|
||||
public class GithubIssuesTests
|
||||
{
|
||||
[Fact]
|
||||
public void Issue822()
|
||||
{
|
||||
var path = IntegrationHelpers.GetSpecificTestDocumentPath("FileData_7.pdf");
|
||||
|
||||
using (var document = PdfDocument.Open(path, new ParsingOptions() { UseLenientParsing = true }))
|
||||
{
|
||||
for (int p = 1; p <= document.NumberOfPages; p++)
|
||||
{
|
||||
var page = document.GetPage(p);
|
||||
Assert.NotNull(page.Letters);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Issue1040()
|
||||
{
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user