Python testing: elongation test in progress.

This commit is contained in:
Don Cross
2019-06-30 13:34:51 -04:00
parent 4be7b949f6
commit fa1ce83a00
2 changed files with 65 additions and 3 deletions

View File

@@ -11,6 +11,12 @@ 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."
python3 test.py elongation || Fail "Failed Python elongation tests."
for file in temp/py_longitude_*.txt; do
./generate check ${file} || Fail "Failed verification of file ${file}"
echo ""
done
echo "$0: Generating Python test output."
time python3 test.py astro_check > temp/py_check.txt || Fail "Failure in Python astro_check"
./generate check temp/py_check.txt || Fail "Verification failure for Python unit test output."