public void CalculateTest(double jd, bool highPrecision, double expectedB0, double expectedL0, double expectedP) { AASPhysicalSunDetails psd = AASPhysicalSun.Calculate(jd, highPrecision); Assert.Equal(expectedB0, psd.B0); Assert.Equal(expectedL0, psd.L0); Assert.Equal(expectedP, psd.P); }
public void TimeOfStartOfRotationTest(long c, double expectedResult) { double jed = AASPhysicalSun.TimeOfStartOfRotation(c); Assert.Equal(expectedResult, jed); }