mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-19 14:27:52 -04:00
Python testing: elongation test in progress.
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user