mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-14 02:44:58 +08:00
update RecursiveXYCutTests
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
[MemberData(nameof(DataExtract))]
|
[MemberData(nameof(DataExtract))]
|
||||||
public void GetBlocks(string name, string[] expected)
|
public void GetBlocks(string name, string[] expected)
|
||||||
{
|
{
|
||||||
using (var document = PdfDocument.Open(IntegrationHelpers.GetDocumentPath(name)))
|
using (var document = PdfDocument.Open(DlaHelper.GetDocumentPath(name)))
|
||||||
{
|
{
|
||||||
var page = document.GetPage(1);
|
var page = document.GetPage(1);
|
||||||
var words = NearestNeighbourWordExtractor.Instance.GetWords(page.Letters);
|
var words = NearestNeighbourWordExtractor.Instance.GetWords(page.Letters);
|
||||||
|
Reference in New Issue
Block a user