| 1 |
|
| 2 |
|
| 3 |
/* This is auto-generated code. Edit at your own peril. */ |
| 4 |
|
| 5 |
#include <stdio.h> |
| 6 |
#include <string.h> |
| 7 |
#include <stdlib.h> |
| 8 |
|
| 9 |
#include "CuTest.h" |
| 10 |
|
| 11 |
|
| 12 |
extern void test_side_length(CuTest*); |
| 13 |
extern void test_make_map(CuTest*); |
| 14 |
extern void test_healpix_distance_to_radec(CuTest*); |
| 15 |
extern void test_healpix_neighbours(CuTest*); |
| 16 |
extern void test_big_nside(CuTest*); |
| 17 |
extern void test_distortion_at_pole(CuTest*); |
| 18 |
|
| 19 |
|
| 20 |
void RunAllTests(void) |
| 21 |
{ |
| 22 |
CuString *output = CuStringNew(); |
| 23 |
CuSuite* suite = CuSuiteNew(); |
| 24 |
|
| 25 |
SUITE_ADD_TEST(suite, test_side_length); |
| 26 |
SUITE_ADD_TEST(suite, test_make_map); |
| 27 |
SUITE_ADD_TEST(suite, test_healpix_distance_to_radec); |
| 28 |
SUITE_ADD_TEST(suite, test_healpix_neighbours); |
| 29 |
SUITE_ADD_TEST(suite, test_big_nside); |
| 30 |
SUITE_ADD_TEST(suite, test_distortion_at_pole); |
| 31 |
|
| 32 |
CuSuiteRun(suite); |
| 33 |
CuSuiteSummary(suite, output); |
| 34 |
CuSuiteDetails(suite, output); |
| 35 |
|
| 36 |
printf("%s\n", output->buffer); |
| 37 |
|
| 38 |
} |
| 39 |
|
| 40 |
int main(int argc, char** args) |
| 41 |
{ |
| 42 |
RunAllTests(); |
| 43 |
} |