Skip to content

Commit

Permalink
fix tests --- now need divisibility
Browse files Browse the repository at this point in the history
  • Loading branch information
talonchandler committed Feb 10, 2025
1 parent 16c87a7 commit bb39e9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ def test_stretched_multiply():

# Test that output dims are correct
rand_array_3x3x3 = torch.rand((3, 3, 3))
rand_array_100x100x100 = torch.rand((100, 100, 100))
rand_array_100x100x100 = torch.rand((99, 99, 99))
result = filter.stretched_multiply(
rand_array_3x3x3, rand_array_100x100x100
)
assert result.shape == (100, 100, 100)
assert result.shape == (99, 99, 99)


def test_stretched_multiply_incompatible_dims():
Expand Down

0 comments on commit bb39e9d

Please sign in to comment.