Lines Matching refs:astro
23 AstroTest::AstroTest(): astro(NULL), gc(NULL) { in AstroTest()
50 if((astro != NULL) || (gc != NULL)) { in initAstro()
60 astro = new CalendarAstronomer(); in initAstro()
65 if(astro != NULL) { in closeAstro()
66 delete astro; in closeAstro()
67 astro = NULL; in closeAstro()
92 astro->setDate(gc->getTime(status)); in TestSolarLongitude()
94 double longitude = astro->getSunLongitude(); in TestSolarLongitude()
97 astro->getSunPosition(result); in TestSolarLongitude()
119 astro->setDate(gc->getTime(status)); in TestLunarPosition()
121 const CalendarAstronomer::Equatorial& result = astro->getMoonPosition(); in TestLunarPosition()
137 …astro->eclipticToEquatorial(result, 139.686111 * CalendarAstronomer::PI / 180.0, 4.875278* Calenda… in TestCoordinates()
403 astro->setTime(cal3->getTime(status)); in TestBasics()
404 double jd = astro->getJulianDay() - 2447891.5; in TestBasics()
459 astro->setDate(gc->getTime(status)); in TestMoonAge()
461 double got = astro->getMoonAge(); in TestMoonAge()