Ejemplo n.º 1
0
        public void GetSRATest2()
        {
            SolarCalculator solCalc = new SolarCalculator();
            double          sal     = 90.41761466;
            double          oc      = 23.43848456;
            double          sra     = solCalc.GetSunRtAscen(sal, oc);

            Assert.AreEqual(90.45517045, Math.Round(sra, 8));
        }
Ejemplo n.º 2
0
        public void GetSRATest1()
        {
            SolarCalculator solCalc = new SolarCalculator();
            double          sal     = 324.9709356;
            double          oc      = 23.43882153;
            double          sra     = solCalc.GetSunRtAscen(sal, oc);

            Assert.AreEqual(-32.746043, Math.Round(sra, 6));
        }