1 /* 2 # This file is part of the Astrometry.net suite. 3 # Licensed under a 3-clause BSD style license - see LICENSE 4 */ 5 #include <math.h> 6 #include <stdio.h> 7 #include <string.h> 8 #include <stdarg.h> 9 #include <stdlib.h> 10 11 #include "cutest.h" 12 #include "hd.h" 13 #include "starutil.h" 14 #include "ioutils.h" 15 #include "constellation-boundaries.h" 16 test_bdy_1(CuTest * tc)17void test_bdy_1(CuTest* tc) { 18 // "Suhail" (Lambda Vela) 19 int con = constellation_containing(136.9992, -43.4325); 20 printf("Got: %i\n", con); 21 CuAssertIntEquals(tc, CON_VEL, con); 22 23 // Naos (xi Pup?) 24 con = constellation_containing(120.8963, -40.0033); 25 printf("Got: %i\n", con); 26 CuAssertIntEquals(tc, CON_PUP, con); 27 } 28