示例#1
0
        public void UranusPositionTest()
        {
            OrbitingBodyMathematics uranus = OrbitingBodyMathematics.generate_uranus();
            var test_time = new DateTime(2016, 2, 10);

            PositionTest(uranus, test_time, 20.32, -0.63, 19.924);
        }
示例#2
0
        public void UranusMeanAnomalyTest()
        {
            OrbitingBodyMathematics uranus = OrbitingBodyMathematics.generate_uranus();
            var test_time = new DateTime(2016, 2, 10, 14, 18, 00);

            MeanAnomalyTest(3.666, test_time, uranus);
        }
示例#3
0
        public void UranusEccentricAnomalyTest()
        {
            OrbitingBodyMathematics uranus = OrbitingBodyMathematics.generate_uranus();
            var test_time = new DateTime(2016, 2, 10, 14, 19, 00);

            EccentricAnomalyTest(3.644, test_time, uranus);
        }
示例#4
0
        public void UranusCompoundPositionTest()
        {
            OrbitingBodyMathematics Uranus = OrbitingBodyMathematics.generate_uranus();

            CompoundPositionTester[] Tests =
            {
                new CompoundPositionTester(new DateTime(1961, 10, 19), 146.62, 0.74, 18.311),
                new CompoundPositionTester(new DateTime(1961,  2,  1), 143.26, 0.73,  18.33),
                new CompoundPositionTester(new DateTime(1961,  4, 11), 144.15, 0.73, 18.325),
                new CompoundPositionTester(new DateTime(1961,  6,  5), 144.86, 0.73,  18.32),
                new CompoundPositionTester(new DateTime(1961,  3,  1), 143.62, 0.73, 18.328),
                new CompoundPositionTester(new DateTime(1961, 12, 25), 147.49, 0.74, 18.306),
                new CompoundPositionTester(new DateTime(1961, 12,  6), 147.24, 0.74, 18.308),
                new CompoundPositionTester(new DateTime(1961,  8, 26), 145.92, 0.74, 18.315),
                new CompoundPositionTester(new DateTime(1961,  2, 24), 143.56, 0.73, 18.328),
                new CompoundPositionTester(new DateTime(1961,  3, 12), 143.77, 0.73, 18.327)
            };
            CompoundPositionTest(Uranus, Tests);
        }
示例#5
0
        public void UranusOrbitalPeriodTest()
        {
            OrbitingBodyMathematics uranus = OrbitingBodyMathematics.generate_uranus();

            OrbitalPeriodTest(30685.4, uranus);
        }