def test_normal_parse(): pdf = PDF('../samples/normal.pdf') assert pdf.parse()
def test_damaged_parse(): pdf = PDF('../samples/damaged.pdf') assert not pdf.parse()