public void Test_10April837_Morning() { double jd = SunPositionCalculator.CalculateJulianDay(new DateTime(837, 4, 10, 7, 12, 0), 0); Assert.AreEqual(2026871.8, jd); }
public void Test_1January2000_Noon() { double jd = SunPositionCalculator.CalculateJulianDay(new DateTime(2000, 1, 1, 12, 0, 0), 0); Assert.AreEqual(2451545.0, jd); }
public void Test_31December1600_Midnight() { double jd = SunPositionCalculator.CalculateJulianDay(new DateTime(1600, 12, 31, 0, 0, 0), 0); Assert.AreEqual(2305812.5, jd); }
public void Test_1January1600_Midnight() { double jd = SunPositionCalculator.CalculateJulianDay(new DateTime(1600, 1, 1, 0, 0, 0), 0); Assert.AreEqual(2305447.5, jd); }
public void Test_19June1988_Noon() { double jd = SunPositionCalculator.CalculateJulianDay(new DateTime(1988, 6, 19, 12, 0, 0), 0); Assert.AreEqual(2447332.0, jd); }
public void Test_27January1988_Midnight() { double jd = SunPositionCalculator.CalculateJulianDay(new DateTime(1988, 1, 27, 0, 0, 0), 0); Assert.AreEqual(2447187.5, jd); }
public void Test_1January1999_Midnight() { double jd = SunPositionCalculator.CalculateJulianDay(new DateTime(1999, 1, 1, 0, 0, 0), 0); Assert.AreEqual(2451179.5, jd); }