Skip to content

Commit

Permalink
Updated xray view unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthero1 committed Mar 21, 2024
1 parent f00f023 commit b8972bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_sem_x(self):

def test_xray_x(self):
xray = ps.visualization.xray(self.im)
assert np.sum(xray) == np.sum(~self.im)
assert np.min(xray) >= 0 and np.max(xray) <= 1

def test_sem_y(self):
sem = ps.visualization.sem(self.im, axis=1)
Expand Down

0 comments on commit b8972bf

Please sign in to comment.