public void GetEqOfTimeTest2() { SolarCalculator solCalc = new SolarCalculator(); double gmls = 89.99265499; double gmas = 4126.875252; double eeo = 0.016704231; double vary = 0.043031483; double eot = solCalc.GetEqOfTime(gmls, gmas, eeo, vary); Assert.AreEqual(-1.850250, Math.Round(eot, 6)); }
public void GetEqOfTimeTest1() { SolarCalculator solCalc = new SolarCalculator(); double gmls = 323.7065868; double gmas = 4000.595216; double eeo = 0.016704379; double vary = 0.043032756; double eot = solCalc.GetEqOfTime(gmls, gmas, eeo, vary); Assert.AreEqual(-14.2222, Math.Round(eot, 6)); }