Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz-roboflow committed Nov 12, 2024
1 parent f01a0b8 commit 75c88c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def test_line_counter() -> None:
)

# then
assert frame1_result == {"count_in": 0, "count_out": 0}
assert frame2_result == {"count_in": 1, "count_out": 1}
assert frame1_result == {"count_in": 0, "count_out": 0, "detections_in": frame1_detections[[False, False, False, False]], "detections_out": frame1_detections[[False, False, False, False]]}
assert frame2_result == {"count_in": 1, "count_out": 1, "detections_in": frame2_detections[[True, False, False, False]], "detections_out": frame2_detections[[False, True, False, False]]}


def test_line_counter_no_trackers() -> None:
Expand Down

0 comments on commit 75c88c1

Please sign in to comment.