Ejemplo n.º 1
0
        public void GetSTLTest2()
        {
            SolarCalculator solCalc = new SolarCalculator();
            double          gmls    = 89.99265499;
            double          seoc    = 0.425983383;
            double          stl     = solCalc.GetSunTrueLong(gmls, seoc);

            Assert.AreEqual(90.4186384, Math.Round(stl, 7));
        }
Ejemplo n.º 2
0
        public void GetSTLTest1()
        {
            SolarCalculator solCalc = new SolarCalculator();
            double          gmls    = 323.7065868;
            double          seoc    = 1.265527642;
            double          stl     = solCalc.GetSunTrueLong(gmls, seoc);

            Assert.AreEqual(324.9721144, Math.Round(stl, 7));
        }