示例#1
0
        public void GetVaryTest2()
        {
            SolarCalculator solCalc = new SolarCalculator();
            double          oc      = 23.43848456;
            double          vary    = solCalc.GetVary(oc);

            Assert.AreEqual(0.04303148, Math.Round(vary, 8));
        }
示例#2
0
        public void GetVaryTest1()
        {
            SolarCalculator solCalc = new SolarCalculator();
            double          oc      = 23.43882153;
            double          vary    = solCalc.GetVary(oc);

            Assert.AreEqual(0.04303276, Math.Round(vary, 8));
        }