Skip to content

Commit

Permalink
adding testing for method argument of psf.convolve
Browse files Browse the repository at this point in the history
  • Loading branch information
maxecharles committed Oct 14, 2024
1 parent 3b565fd commit 1fde54a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_psfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def test_properties(self, psf):
def test_methods(self, psf):
assert psf.downsample(2).npixels == 8
assert isinstance(psf.convolve(np.ones((2, 2))), PSF)
assert isinstance(psf.convolve(np.ones((2, 2)), method="fft"), PSF)
assert isinstance(psf.rotate(np.pi), PSF)
assert isinstance(psf.resize(8), PSF)
assert isinstance(psf.flip(0), PSF)
Expand Down

0 comments on commit 1fde54a

Please sign in to comment.