public void GetSolarElevationCorrectedTest2() { SolarCalculator solCalc = new SolarCalculator(); double sea = 49.16974994; double aar = 0.013933057; double sec = solCalc.GetSolarElevationCorrected(sea, aar); Assert.AreEqual(49.183683, Math.Round(sec, 8)); }
public void GetSolarElevationCorrectedTest1() { SolarCalculator solCalc = new SolarCalculator(); double sea = 36.69936398; double aar = 0.021605629; double sec = solCalc.GetSolarElevationCorrected(sea, aar); Assert.AreEqual(36.7209696, Math.Round(sec, 7)); }