Skip to content

Commit

Permalink
zero vals test no longer applies to cc
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsavel authored Dec 2, 2022
1 parent cb3c662 commit befeb59
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/simmer/tests/test_contrast.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ def test_constant_flux(self):
result = cc(arr, .0333, )
self.assertTrue(all_same(result[1]))

def test_zero_vals(self):
arr = np.array([[0] * 600] * 600)
result = cc(arr, .0333, )
bools = []
for i in result[1]:
bools.append(np.isnan(i))
self.assertTrue(np.all(bools))
# def test_zero_vals(self):
# arr = np.array([[0] * 600] * 600)
# result = cc(arr, .0333, )
# bools = []
# for i in result[1]:
# bools.append(np.isnan(i))
# self.assertTrue(np.all(bools))

def test_radius_size(self):
arr = np.array([[1000] * 600] * 600)
Expand Down

0 comments on commit befeb59

Please sign in to comment.