public void TestToString()
        {
            var jd = new JulianDay(JulianDay.J2000);
            var et = new EphemerisTime(jd, 12.34);

            Assert.Equal((2451557.34).ToString(), et.ToString());
        }
Exemple #2
0
        public void TestToString()
        {
            var           date = new UniversalTime(2014, 4, 26, 16, 53, 24);
            var           jd   = new JulianDay(date, DateCalendar.Gregorian);
            var           dt   = 0.456;
            EphemerisTime et   = new EphemerisTime(jd, dt);

            Assert.AreEqual(2456774.65975.ToString(), et.ToString());
        }