generated from microsoft/python-package-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
from nro45data import psw | ||
|
||
def test_psw(): | ||
assert psw is not None | ||
assert psw.nqm2fits is not None | ||
assert psw.nqm2ms2 is not None | ||
assert psw.nqm2ms4 is not None | ||
|
||
|
||
def test_nqm2fits(): | ||
assert psw.nqm2fits.__name__ == 'nqm2fits' | ||
assert psw.nqm2fits.__module__ == 'nro45data.psw' | ||
assert psw.nqm2fits.__doc__ is not None | ||
assert psw.nqm2fits.__annotations__ == {'nqmfile': str, 'fitsfile': str, 'overwrite': bool, 'return': bool} | ||
assert psw.nqm2fits.__module__ == 'nro45data.psw' | ||
assert psw.nqm2fits.__module__ == 'nro45data.psw' | ||
assert psw.nqm2fits.__module__ == 'nro45data.psw' | ||
assert psw.nqm2fits.__module__ == 'nro45data.psw' | ||
assert psw.nqm2fits.__module__ == 'nro45data.psw' | ||
|
||
|
||
def test_nqm2ms2(): | ||
assert psw.nqm2ms2.__name__ == 'nqm2ms2' | ||
assert psw.nqm2ms2.__module__ == 'nro45data.psw' | ||
assert psw.nqm2ms2.__doc__ is not None | ||
assert psw.nqm2ms2.__annotations__ == {'nqmfile': str, 'msfile': str, 'overwrite': bool, 'return': bool} | ||
assert psw.nqm2ms2.__module__ == 'nro45data.psw' | ||
assert psw.nqm2ms2.__module__ == 'nro45data.psw' | ||
assert psw.nqm2ms2.__module__ == 'nro45data.psw' | ||
assert psw.nqm2ms2.__module__ == 'nro45data.psw' | ||
assert psw.nqm2ms2.__module__ == 'nro45data.psw' | ||
|
||
|
||
def test_nqm2ms4(): | ||
assert psw.nqm2ms4.__name__ == 'nqm2ms4' | ||
assert psw.nqm2ms4.__module__ == 'nro45data.psw' | ||
assert psw.nqm2ms4.__doc__ is not None | ||
assert psw.nqm2ms4.__annotations__ == {'nqmfile': str, 'psfile': str, 'overwrite': bool, 'return': bool} | ||
assert psw.nqm2ms4.__module__ == 'nro45data.psw' | ||
assert psw.nqm2ms4.__module__ == 'nro45data.psw' | ||
assert psw.nqm2ms4.__module__ == 'nro45data.psw' | ||
assert psw.nqm2ms4.__module__ == 'nro45data.psw' | ||
assert psw.nqm2ms4.__module__ == 'nro45data.psw' |