示例#1
0
        public void SaturnPositionTest()
        {
            OrbitingBodyMathematics saturn = OrbitingBodyMathematics.generate_saturn();
            var test_time = new DateTime(2016, 2, 10);

            PositionTest(saturn, test_time, 250.37, 1.71, 10.002);
        }
示例#2
0
        public void SaturnMeanAnomalyTest()
        {
            OrbitingBodyMathematics saturn = OrbitingBodyMathematics.generate_saturn();
            var test_time = new DateTime(2016, 2, 10, 13, 43, 00);

            MeanAnomalyTest(2.685, test_time, saturn);
        }
示例#3
0
        public void SaturnEccentricAnomalyTest()
        {
            OrbitingBodyMathematics saturn = OrbitingBodyMathematics.generate_saturn();
            var test_time = new DateTime(2016, 2, 10, 13, 44, 00);

            EccentricAnomalyTest(2.707, test_time, saturn);
        }
示例#4
0
        public void SaturnCompoundPositionTest()
        {
            OrbitingBodyMathematics Saturn = OrbitingBodyMathematics.generate_saturn();

            CompoundPositionTester[] Tests =
            {
                new CompoundPositionTester(new DateTime(2015,  4, 29), 241.62, 1.96, 9.963),
                new CompoundPositionTester(new DateTime(2015,  1,  4),  238.1, 2.05, 9.944),
                new CompoundPositionTester(new DateTime(2015,  9, 15), 245.87, 1.84, 9.983),
                new CompoundPositionTester(new DateTime(2015,  5,  6), 241.84, 1.96, 9.964),
                new CompoundPositionTester(new DateTime(2015, 11, 26), 248.06, 1.78, 9.993),
                new CompoundPositionTester(new DateTime(2015, 11, 20), 247.88, 1.79, 9.992),
                new CompoundPositionTester(new DateTime(2015,  2, 24), 239.66, 2.01, 9.953),
                new CompoundPositionTester(new DateTime(2015, 11,  3), 247.36,  1.8,  9.99),
                new CompoundPositionTester(new DateTime(2015,  9, 30), 246.33, 1.83, 9.985),
                new CompoundPositionTester(new DateTime(2015,  4, 17), 241.26, 1.97, 9.961)
            };
            CompoundPositionTest(Saturn, Tests);
        }
示例#5
0
        public void SaturnOrbitalPeriodTest()
        {
            OrbitingBodyMathematics saturn = OrbitingBodyMathematics.generate_saturn();

            OrbitalPeriodTest(10759.22, saturn);
        }