Beispiel #1
0
        public void GetOCTest2()
        {
            SolarCalculator solCalc       = new SolarCalculator();
            double          julianCentury = 0.10470682;
            double          moe           = 23.43792948;
            double          oc            = solCalc.GetObliqCorr(julianCentury, moe);

            Assert.AreEqual(23.43848456, Math.Round(oc, 8));
        }
Beispiel #2
0
        public void GetOCTest1()
        {
            SolarCalculator solCalc       = new SolarCalculator();
            double          julianCentury = 0.10119895;
            double          moe           = 23.4379751;
            double          oc            = solCalc.GetObliqCorr(julianCentury, moe);

            Assert.AreEqual(23.43882153, Math.Round(oc, 8));
        }