Beispiel #1
0
        public void GetSRVTest2()
        {
            SolarCalculator solCalc = new SolarCalculator();
            double          eeo     = 0.016704231;
            double          sta     = 4127.301236;
            double          srv     = solCalc.GetSunRadVector(eeo, sta);

            Assert.AreEqual(1.016282961, Math.Round(srv, 9));
        }
Beispiel #2
0
        public void GetSRVTest1()
        {
            SolarCalculator solCalc = new SolarCalculator();
            double          eeo     = 0.016704379;
            double          sta     = 4001.860744;
            double          srv     = solCalc.GetSunRadVector(eeo, sta);

            Assert.AreEqual(0.98743737, Math.Round(srv, 8));
        }