public void GetGMLSTest2() { SolarCalculator solCalc = new SolarCalculator(); double julianCentury = 0.10470682181154035; double gmls = solCalc.GetGeomMeanLongSun(julianCentury); Assert.AreEqual(89.99265499, Math.Round(gmls, 8)); }
public void GetGMLSTest1() { SolarCalculator solCalc = new SolarCalculator(); double julianCentury = 0.10119895049052735; double gmls = solCalc.GetGeomMeanLongSun(julianCentury); Assert.AreEqual(323.7065868, Math.Round(gmls, 7)); }