Lines Matching refs:astro
26 AstroTest::AstroTest(): astro(NULL), gc(NULL) { in AstroTest()
53 if((astro != NULL) || (gc != NULL)) { in initAstro()
63 astro = new CalendarAstronomer(); in initAstro()
68 if(astro != NULL) { in closeAstro()
69 delete astro; in closeAstro()
70 astro = NULL; in closeAstro()
95 astro->setDate(gc->getTime(status)); in TestSolarLongitude()
97 double longitude = astro->getSunLongitude(); in TestSolarLongitude()
100 astro->getSunPosition(result); in TestSolarLongitude()
122 astro->setDate(gc->getTime(status)); in TestLunarPosition()
124 const CalendarAstronomer::Equatorial& result = astro->getMoonPosition(); in TestLunarPosition()
140 …astro->eclipticToEquatorial(result, 139.686111 * CalendarAstronomer::PI / 180.0, 4.875278* Calenda… in TestCoordinates()
406 astro->setTime(cal3->getTime(status)); in TestBasics()
407 double jd = astro->getJulianDay() - 2447891.5; in TestBasics()
462 astro->setDate(gc->getTime(status)); in TestMoonAge()
464 double got = astro->getMoonAge(); in TestMoonAge()