コード例 #1
0
        public void GetSEOCTest2()
        {
            SolarCalculator solCalc       = new SolarCalculator();
            double          julianCentury = 0.10470682;
            double          gmas          = 4126.875252;
            double          seoc          = solCalc.GetSunEqOfCtr(julianCentury, gmas);

            Assert.AreEqual(0.4259834, Math.Round(seoc, 7));
        }
コード例 #2
0
        public void GetSEOCTest1()
        {
            SolarCalculator solCalc       = new SolarCalculator();
            double          julianCentury = 0.10119895;
            double          gmas          = 4000.595216;
            double          seoc          = solCalc.GetSunEqOfCtr(julianCentury, gmas);

            Assert.AreEqual(1.2655276, Math.Round(seoc, 7));
        }