Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
SVivdich02 committed Mar 4, 2024
1 parent 9854817 commit c737393
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/utils/test_sam_mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ def test_find_union_mask(
):
actual_union_mask = find_union_mask(mask1, mask2)
assert (
actual_union_mask["segmentation"]
== expected_union_mask["segmentation"]
actual_union_mask["segmentation"] == expected_union_mask["segmentation"]
).all()
assert actual_union_mask["bbox"] == expected_union_mask["bbox"]
assert actual_union_mask["area"] == expected_union_mask["area"]

0 comments on commit c737393

Please sign in to comment.