Skip to content

Commit

Permalink
Merge pull request #84 from astrofrog/test-pix2ang
Browse files Browse the repository at this point in the history
Added failing example for test_pix2ang
  • Loading branch information
cdeil committed Jul 3, 2018
2 parents 9285aea + 135177f commit 528292b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions astropy_healpix/tests/test_healpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def test_pix2ang_shape():
frac=floats(0, 1, allow_nan=False, allow_infinity=False).filter(lambda x: x < 1))
@settings(max_examples=2000, derandomize=True)
@example(nside_pow=29, frac=0.1666666694606345, nest=False, lonlat=False)
@example(nside_pow=27, frac=2./3., nest=True, lonlat=False)
def test_pix2ang(nside_pow, frac, nest, lonlat):
nside = 2 ** nside_pow
ipix = int(frac * 12 * nside ** 2)
Expand Down

0 comments on commit 528292b

Please sign in to comment.