Skip to content

Commit

Permalink
add cli test
Browse files Browse the repository at this point in the history
  • Loading branch information
quyuan committed Apr 29, 2024
1 parent a1a1d17 commit 82e675d
Show file tree
Hide file tree
Showing 17 changed files with 35,019 additions and 1 deletion.
33,768 changes: 33,768 additions & 0 deletions ocr/2274-05.json

Large diffs are not rendered by default.

153 changes: 153 additions & 0 deletions ocr/2274-05.md

Large diffs are not rendered by default.

Binary file added ocr/2274-05.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions ocr/2274-05.txt

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ocr/layout.pdf
Binary file not shown.
Binary file added ocr/spans.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion tests/test_cli/lib/common.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import subprocess
import os
def check_shell(cmd):
res = subprocess.check_output(cmd, shell=True)
res = os.system(cmd)
assert res == 0

def count_folders_and_check_contents(directory):
Expand Down
100 changes: 100 additions & 0 deletions tools/json_files/ocr_dataset.json

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions tools/json_files/pdf_json_label_0229.json

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions tools/json_files/pdf_json_label_0306.json

Large diffs are not rendered by default.

895 changes: 895 additions & 0 deletions tools/over_all_benchamark.py

Large diffs are not rendered by default.

0 comments on commit 82e675d

Please sign in to comment.