Python: Added MoonPhase test. Fixed errors.

This commit is contained in:
Don Cross
2019-06-29 23:43:38 -04:00
parent 9d304850df
commit 0ab44ede69
4 changed files with 84 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ python3 --version || Fail "Cannot print python version"
python3 test.py time || Fail "Failure reported by test.py (time)"
python3 test.py moon || Fail "Failure reported by test.py (moon)"
python3 test.py seasons seasons/seasons.txt || Fail "Failed Python seasons test."
python3 test.py moonphase moonphase/moonphases.txt || Fail "Failed Python moon phase test."
echo "$0: Generating Python test output."
time python3 test.py astro_check > temp/py_check.txt || Fail "Failure in Python astro_check"