コード例 #1
0
        public void GetApproxAtmRefractionTest2()
        {
            SolarCalculator solCalc = new SolarCalculator();
            double          sea     = 49.16974994;
            double          aar     = solCalc.GetApproxAtmRefraction(sea);

            Assert.AreEqual(0.013933057, Math.Round(aar, 9));
        }
コード例 #2
0
        public void GetApproxAtmRefractionTest1()
        {
            SolarCalculator solCalc = new SolarCalculator();
            double          sea     = 36.69936398;
            double          aar     = solCalc.GetApproxAtmRefraction(sea);

            Assert.AreEqual(0.021605629, Math.Round(aar, 9));
        }