public void GetSALTest2() { SolarCalculator solCalc = new SolarCalculator(); double julianCentury = 0.10470682; double stl = 90.41863838; double sal = solCalc.GetSunAppLong(julianCentury, stl); Assert.AreEqual(90.41761466, Math.Round(sal, 8)); }
public void GetSALTest1() { SolarCalculator solCalc = new SolarCalculator(); double julianCentury = 0.10119895; double stl = 324.9721144; double sal = solCalc.GetSunAppLong(julianCentury, stl); Assert.AreEqual(324.9709356, Math.Round(sal, 7)); }