mirror of
https://github.com/cosinekitty/astronomy.git
synced 2025-12-27 01:30:50 -05:00
I refactored the unit tests for all the demo programs to follow a different pattern that makes it simpler to add more demo tests in the future. The main thing is that correct output and generated output are now in separate directories `correct` and `test`. I have moved the test scripts from `test/test` to `./demotest` in all the langauge demo directories. This makes it simpler to clean up any stale generated files before each test run by `rm -f test/*.txt`. I stumbled across this while making the Java demo tests, and it was a better solution, so now all the other languages are consistent with the Java demo tests. In the C demo tests, I also decided to compile all the binary executables into a subdirectory `bin` that can be cleaned out before each run, to make sure there are no stale executables from an earlier run.
14 lines
532 B
Plaintext
14 lines
532 B
Plaintext
UTC date = 2018-11-30T17:55:07.234Z
|
|
|
|
BODY RA DEC AZ ALT
|
|
Sun 16.43 -21.68 180.91 22.72
|
|
Moon 11.30 7.81 266.73 14.07
|
|
Mercury 15.92 -18.41 189.05 25.50
|
|
Venus 13.81 -9.79 224.05 23.85
|
|
Mars 22.74 -9.25 93.82 -8.52
|
|
Jupiter 16.19 -20.43 184.62 23.84
|
|
Saturn 18.54 -22.70 150.51 16.25
|
|
Uranus 1.80 10.57 43.72 -22.60
|
|
Neptune 23.01 -7.41 89.63 -10.05
|
|
Pluto 19.40 -22.09 139.25 11.68
|