Skip to content

Commit

Permalink
test and test file
Browse files Browse the repository at this point in the history
  • Loading branch information
profxj committed Jul 19, 2016
1 parent 9233c6b commit f020cb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Binary file not shown.
3 changes: 3 additions & 0 deletions linetools/spectra/tests/test_read_fits_spec.py
Expand Up @@ -41,6 +41,9 @@ def test_setwave():
wave = io.setwave(hd)
np.testing.assert_allclose(wave[0], 3040.33648468)

def test_getwave(): # X-Shooter
spec = io.readspec(data_path('XShooter_XQ100.fits.gz'))
assert spec.wavelength.unit == u.nm

# ASCII format
def test_read_ascii():
Expand Down

0 comments on commit f020cb5

Please sign in to comment.