GitHub Actions: also run tests under macOS

This commit is contained in:
Brandon Rhodes 2024-02-13 09:11:23 -05:00
parent 4a1fc4da66
commit 7891b402da
3 changed files with 18 additions and 16 deletions

View File

@ -33,3 +33,5 @@ jobs:
run: brew install xquartz --cask && brew info xquartz
- name: Compile
run: make -C GUI/xephem
- name: Test
run: make -C tests

View File

@ -1,18 +1,18 @@
Precession J2000 -> J2015
RA +0.0000000000000000 -> +0.0033543649473764
Dec -0.0000000000000000 -> +0.0014575063671504
RA +1.0000000000000000 -> +1.0014450289313686
Dec -1.0000000000000000 -> -0.9992134064184917
RA +2.0000000000000000 -> +5.1478363700948195
Dec -2.0000000000000000 -> -1.1409819639181964
RA +3.0000000000000000 -> +6.1449758360061262
Dec -3.0000000000000000 -> -0.1401493826857086
RA +4.0000000000000000 -> +0.8630426367929015
Dec -4.0000000000000000 -> +0.8593574646184613
RA +5.0000000000000000 -> +4.9986250865903390
Dec -5.0000000000000000 -> +1.2835978054231891
RA +6.0000000000000000 -> +6.0032362075042789
Dec -6.0000000000000000 -> +0.2845854258344847
RA +0.0000000000000000 -> +0.00335436494738
Dec -0.0000000000000000 -> +0.00145750636715
RA +1.0000000000000000 -> +1.00144502893137
Dec -1.0000000000000000 -> -0.99921340641849
RA +2.0000000000000000 -> +5.14783637009482
Dec -2.0000000000000000 -> -1.14098196391820
RA +3.0000000000000000 -> +6.14497583600613
Dec -3.0000000000000000 -> -0.14014938268571
RA +4.0000000000000000 -> +0.86304263679290
Dec -4.0000000000000000 -> +0.85935746461846
RA +5.0000000000000000 -> +4.99862508659034
Dec -5.0000000000000000 -> +1.28359780542319
RA +6.0000000000000000 -> +6.00323620750428
Dec -6.0000000000000000 -> +0.28458542583448
Pluto discontinuity when Chapront (1995) ends on 2247/10/1
RA = 16:52:53.80

View File

@ -10,8 +10,8 @@ int main() {
ra = pra = i;
dec = pdec = -i;
precess(J2000, J2015, &pra, &pdec);
printf("RA %+.16f -> %+.16f\n", ra, pra);
printf("Dec %+.16f -> %+.16f\n", dec, pdec);
printf("RA %+.16f -> %+.14f\n", ra, pra);
printf("Dec %+.16f -> %+.14f\n", dec, pdec);
}
printf("\nPluto discontinuity when Chapront (1995) ends on 2247/10/1\n");