Skip to content

Commit

Permalink
fixed expected_lines in get_axis_aligned_lines
Browse files Browse the repository at this point in the history
  • Loading branch information
lhaibach committed Dec 10, 2024
1 parent 6e3b4c9 commit be4d063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_coordinate_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def test_get_axis_aligned_lines():
# CoordinateExtractor searches (x1-x0) *10 to right and (y1-y0) * 3 below rect_key
# Thus, x1 limit = 1300, y0 limit = 150
feature_lines = extractor.get_axis_aligned_lines(lines=text_lines, rect=rect_key)
expected_lines = [key_line, overlap_right, inside_below, inside_right, overlap_right_below, overlap_right]
expected_lines = [key_line, overlap_right, inside_below, inside_right, overlap_right_below]

for feature_line in feature_lines:
assert feature_line in expected_lines, f"Unexpected feature line: {feature_line}"
Expand Down

0 comments on commit be4d063

Please sign in to comment.