1 /*
2  *  - - - - - - - - - - - - - - - - - - - - - -
3  *   g a l _ t p r e c n u t - ( m a i n . c )
4  *  - - - - - - - - - - - - - - - - - - - - - -
5  *
6  *  This program is part of the General Astrodynamics Library
7  *
8  *  Description:
9  *
10  *     This program runs the test suite for the precnut sub-library
11  *
12  *  Status:
13  *
14  *     Library test program
15  *
16  *  Returned:
17  *
18  *     gal_tprecnut     i           0 is returned if all the tests pass,
19  *                                  1 is returned if any of the tests fail
20  *
21  *  Called:
22  *
23  *     gal_test_start               Initialize and start the test run
24  *     gal_test_stop                Stop the test run and output the statistics
25  *     gal_bi00_test                gal_bi00 test routine
26  *     gal_bp00_test                gal_bp00 test routine
27  *     gal_bp06_test                gal_bp06 test routine
28  *     gal_bpn2xy_test              gal_bp2xy test routine
29  *     gal_c2i00a_test              gal_c2i00a test routine
30  *     gal_c2i00b_test              gal_c2i00b test routine
31  *     gal_c2i06a_test              gal_c2i06a test routine
32  *     gal_c2ibpn_test              gal_c2ibpn test routine
33  *     gal_c2ixy_test               gal_c2ixy test routine
34  *     gal_c2ixys_test              gal_c2ixys test routine
35  *     gal_c2t00a_test              gal_c2t00a test routine
36  *     gal_c2t00b_test              gal_c2t00b test routine
37  *     gal_c2t06a_test              gal_c2t06a test routine
38  *     gal_c2tcio_test              gal_c2tcio test routine
39  *     gal_c2teqx_test              gal_c2teqx test routine
40  *     gal_c2tpe_test               gal_c2tpe test routine
41  *     gal_c2txy_test               gal_c2txy test routine
42  *     gal_eo06a_test               gal_eo06a test routine
43  *     gal_eors_test                gal_eors test routine
44  *     gal_fad03_test               gal_fad03 test routine
45  *     gal_fae03_test               gal_fae03 test routine
46  *     gal_faf03_test               gal_faf03 test routine
47  *     gal_faju03_test              gal_faju03 test routine
48  *     gal_fal03_test               gal_fal03 test routine
49  *     gal_falp03_test              gal_falp03 test routine
50  *     gal_fama03_test              gal_fama03 test routine
51  *     gal_fame03_test              gal_fame03 test routine
52  *     gal_fane03_test              gal_fane03 test routine
53  *     gal_faom03_test              gal_faom03 test routine
54  *     gal_fapa03_test              gal_fapa03 test routine
55  *     gal_fasa03_test              gal_fasa03 test routine
56  *     gal_faur03_test              gal_faur03 test routine
57  *     gal_fave03_test              gal_fave03 test routine
58  *     gal_fw2m_test                gal_fw2m test routine
59  *     gal_fw2xy_test               gal_fw2xy test routine
60  *     gal_num00a_test              gal_num00a test routine
61  *     gal_num00b_test              gal_num00b test routine
62  *     gal_num06a_test              gal_num06a test routine
63  *     gal_numat_test               gal_numat test routine
64  *     gal_nut00a_test              gal_nut00a test routine
65  *     gal_nut00b_test              gal_nut00b test routine
66  *     gal_nut06a_test              gal_nut06a test routine
67  *     gal_nut80_test               gal_nut80 test routine
68  *     gal_nutm80_test              gal_nutm80 test routine
69  *     gal_obl06_test               gal_onl06 test routine
70  *     gal_obl80_test               gal_obl80 test routine
71  *     gal_p06e_test                gal_p06e test routine
72  *     gal_pb06_test                gal_pb06 test routine
73  *     gal_pfw06_test               gal_pfw06 test routine
74  *     gal_pmat00_test              gal_pmat00 test routine
75  *     gal_pmat06_test              gal_pmat06 test routine
76  *     gal_pmat76_test              gal_pmat76 test routine
77  *     gal_pn00_test                gal_pn00 test routine
78  *     gal_pn00a_test               gal_pn00a test routine
79  *     gal_pn00b_test               gal_pn00b test routine
80  *     gal_pn06_test                gal_pn06 test routine
81  *     gal_pn06a_test               gal_pn06a test routine
82  *     gal_pnm00a_test              gal_pnm00a test routine
83  *     gal_pnm00b_test              gal_pnm00b test routine
84  *     gal_pnm06a_test              gal_pnm06a test routine
85  *     gal_pnm80_test               gal_pnm80 test routine
86  *     gal_pom00_test               gal_pom00 test routine
87  *     gal_pr00_test                gal_pr00 test routine
88  *     gal_prec76_test              gal_prec76 test routine
89  *     gal_s00_test                 gal_s00 test routine
90  *     gal_s00a_test                gal_s00a test routine
91  *     gal_s00b_test                gal_s00b test routine
92  *     gal_s06_test                 gal_s06 test routine
93  *     gal_s06a_test                gal_s06a test routine
94  *     gal_sp00_test                gal_sp00 test routine
95  *     gal_xy06_test                gal_xy06 test routine
96  *     gal_xys00a_test              gal_xys00a test routine
97  *     gal_xys00b_test              gal_xys00b test routine
98  *     gal_xys06a_test              gal_xys06a test routine
99  *
100  *  This revision:
101  *
102  *     2008 March 15
103  *
104  *  Copyright (C) 2008 Paul C. L. Willmott. See notes at end.
105  *
106  *-----------------------------------------------------------------------
107  */
108 
109 #include "gal_test_common.h"
110 #include "gal_test.h"
111 #include "gal_bi00_test.h"
112 #include "gal_bp00_test.h"
113 #include "gal_bp06_test.h"
114 #include "gal_bpn2xy_test.h"
115 #include "gal_c2i00a_test.h"
116 #include "gal_c2i00b_test.h"
117 #include "gal_c2i06a_test.h"
118 #include "gal_c2ibpn_test.h"
119 #include "gal_c2ixy_test.h"
120 #include "gal_c2ixys_test.h"
121 #include "gal_c2t00a_test.h"
122 #include "gal_c2t00b_test.h"
123 #include "gal_c2t06a_test.h"
124 #include "gal_c2tcio_test.h"
125 #include "gal_c2teqx_test.h"
126 #include "gal_c2tpe_test.h"
127 #include "gal_c2txy_test.h"
128 #include "gal_eo06a_test.h"
129 #include "gal_eors_test.h"
130 #include "gal_fad03_test.h"
131 #include "gal_fae03_test.h"
132 #include "gal_faf03_test.h"
133 #include "gal_faju03_test.h"
134 #include "gal_fal03_test.h"
135 #include "gal_falp03_test.h"
136 #include "gal_fama03_test.h"
137 #include "gal_fame03_test.h"
138 #include "gal_fane03_test.h"
139 #include "gal_faom03_test.h"
140 #include "gal_fapa03_test.h"
141 #include "gal_fasa03_test.h"
142 #include "gal_faur03_test.h"
143 #include "gal_fave03_test.h"
144 #include "gal_fw2m_test.h"
145 #include "gal_fw2xy_test.h"
146 #include "gal_num00a_test.h"
147 #include "gal_num00b_test.h"
148 #include "gal_num06a_test.h"
149 #include "gal_numat_test.h"
150 #include "gal_nut00a_test.h"
151 #include "gal_nut00b_test.h"
152 #include "gal_nut06a_test.h"
153 #include "gal_nut80_test.h"
154 #include "gal_nutm80_test.h"
155 #include "gal_obl06_test.h"
156 #include "gal_obl80_test.h"
157 #include "gal_p06e_test.h"
158 #include "gal_pb06_test.h"
159 #include "gal_pfw06_test.h"
160 #include "gal_pmat00_test.h"
161 #include "gal_pmat06_test.h"
162 #include "gal_pmat76_test.h"
163 #include "gal_pn00_test.h"
164 #include "gal_pn00a_test.h"
165 #include "gal_pn00b_test.h"
166 #include "gal_pn06_test.h"
167 #include "gal_pn06a_test.h"
168 #include "gal_pnm00a_test.h"
169 #include "gal_pnm00b_test.h"
170 #include "gal_pnm06a_test.h"
171 #include "gal_pnm80_test.h"
172 #include "gal_pom00_test.h"
173 #include "gal_pr00_test.h"
174 #include "gal_prec76_test.h"
175 #include "gal_s00_test.h"
176 #include "gal_s00a_test.h"
177 #include "gal_s00b_test.h"
178 #include "gal_s06_test.h"
179 #include "gal_s06a_test.h"
180 #include "gal_sp00_test.h"
181 #include "gal_xy06_test.h"
182 #include "gal_xys00a_test.h"
183 #include "gal_xys00b_test.h"
184 #include "gal_xys06a_test.h"
185 
186 int
main()187 main
188   (
189   )
190 
191 {
192 
193 /*
194  * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
195  */
196 
197   gal_test_start ( "Precession, Nutation & Polar Motion", 0 ) ;
198 
199   gal_bi00_test   () ;
200   gal_bp00_test   () ;
201   gal_bp06_test   () ;
202   gal_bpn2xy_test () ;
203   gal_c2i00a_test () ;
204   gal_c2i00b_test () ;
205   gal_c2i06a_test () ;
206   gal_c2ibpn_test () ;
207   gal_c2ixy_test  () ;
208   gal_c2ixys_test () ;
209   gal_c2t00a_test () ;
210   gal_c2t00b_test () ;
211   gal_c2t06a_test () ;
212   gal_c2tcio_test () ;
213   gal_c2teqx_test () ;
214   gal_c2tpe_test  () ;
215   gal_c2txy_test  () ;
216   gal_eo06a_test  () ;
217   gal_eors_test   () ;
218   gal_fad03_test  () ;
219   gal_fae03_test  () ;
220   gal_faf03_test  () ;
221   gal_faju03_test () ;
222   gal_fal03_test  () ;
223   gal_falp03_test () ;
224   gal_fama03_test () ;
225   gal_fame03_test () ;
226   gal_fane03_test () ;
227   gal_faom03_test () ;
228   gal_fapa03_test () ;
229   gal_fasa03_test () ;
230   gal_faur03_test () ;
231   gal_fave03_test () ;
232   gal_fw2m_test   () ;
233   gal_fw2xy_test  () ;
234   gal_num00a_test () ;
235   gal_num00b_test () ;
236   gal_num06a_test () ;
237   gal_numat_test  () ;
238   gal_nut00a_test () ;
239   gal_nut00b_test () ;
240   gal_nut06a_test () ;
241   gal_nut80_test  () ;
242   gal_nutm80_test () ;
243   gal_obl06_test  () ;
244   gal_obl80_test  () ;
245   gal_p06e_test   () ;
246   gal_pb06_test   () ;
247   gal_pfw06_test  () ;
248   gal_pmat00_test () ;
249   gal_pmat06_test () ;
250   gal_pmat76_test () ;
251   gal_pn00_test   () ;
252   gal_pn00a_test  () ;
253   gal_pn00b_test  () ;
254   gal_pn06_test   () ;
255   gal_pn06a_test  () ;
256   gal_pnm00a_test () ;
257   gal_pnm00b_test () ;
258   gal_pnm06a_test () ;
259   gal_pnm80_test  () ;
260   gal_pom00_test  () ;
261   gal_pr00_test   () ;
262   gal_prec76_test () ;
263   gal_s00_test    () ;
264   gal_s00a_test   () ;
265   gal_s00b_test   () ;
266   gal_s06_test    () ;
267   gal_s06a_test   () ;
268   gal_sp00_test   () ;
269   gal_xy06_test   () ;
270   gal_xys00a_test () ;
271   gal_xys00b_test () ;
272   gal_xys06a_test () ;
273 
274   return gal_test_stop () ;
275 
276 /*
277  * Finished.
278  */
279 
280 }
281 
282 /*
283  *  gal - General Astrodynamics Library
284  *  Copyright (C) 2008 Paul C. L. Willmott
285  *
286  *  This program is free software; you can redistribute it and/or modify
287  *  it under the terms of the GNU General Public License as published by
288  *  the Free Software Foundation; either version 2 of the License, or
289  *  (at your option) any later version.
290  *
291  *  This program is distributed in the hope that it will be useful,
292  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
293  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
294  *  GNU General Public License for more details.
295  *
296  *  You should have received a copy of the GNU General Public License along
297  *  with this program; if not, write to the Free Software Foundation, Inc.,
298  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
299  *
300  *  Contact:
301  *
302  *  Paul Willmott
303  *  vp9mu@amsat.org
304  */
305 
306