コード例 #1
0
ファイル: OrbitTest.cs プロジェクト: thothrex/SpaceBattles
        public void MercuryPositionTest()
        {
            OrbitingBodyMathematics mercury = OrbitingBodyMathematics.generate_mercury();
            var test_time = new DateTime(2016, 2, 10);

            PositionTest(mercury, test_time, 224.43, 0.13, 0.451);
        }
コード例 #2
0
ファイル: OrbitTest.cs プロジェクト: thothrex/SpaceBattles
        public void MercuryMeanAnomalyTest()
        {
            OrbitingBodyMathematics mercury = OrbitingBodyMathematics.generate_mercury();
            var test_time = new DateTime(2016, 2, 10, 11, 48, 00);

            MeanAnomalyTest(2.34, test_time, mercury);
        }
コード例 #3
0
ファイル: OrbitTest.cs プロジェクト: thothrex/SpaceBattles
        public void MercuryEccentricAnomalyTest()
        {
            OrbitingBodyMathematics mercury = OrbitingBodyMathematics.generate_mercury();
            var test_time = new DateTime(2016, 2, 10, 11, 49, 0);

            EccentricAnomalyTest(2.468, test_time, mercury);
        }
コード例 #4
0
ファイル: OrbitTest.cs プロジェクト: thothrex/SpaceBattles
        public void MercuryCompoundPositionTest()
        {
            OrbitingBodyMathematics Mercury = OrbitingBodyMathematics.generate_mercury();

            CompoundPositionTester[] Tests =
            {
                new CompoundPositionTester(new DateTime(1968, 12,  3),  243.9, -1.93,  0.464),
                new CompoundPositionTester(new DateTime(1968, 11,  2), 127.03,  6.88,  0.327),
                new CompoundPositionTester(new DateTime(1968,  5, 18), 166.95,  6.14,  0.370),
                new CompoundPositionTester(new DateTime(1968,  3, 28), 282.52, -5.71,  0.455),
                new CompoundPositionTester(new DateTime(1968, 10, 17),  29.83,  -2.2,  0.325),
                new CompoundPositionTester(new DateTime(1968,  4, 27),  47.01, -0.12,  0.315),
                new CompoundPositionTester(new DateTime(1968, 11,  4), 138.06,  7.00,  0.337),
                new CompoundPositionTester(new DateTime(1968,  7,  4), 314.24, -6.99,  0.417),
                new CompoundPositionTester(new DateTime(1968, 12, 27), 314.45, -6.99,  0.417),
                new CompoundPositionTester(new DateTime(1968,  4, 16), 349.09, -6.01,  0.368),
                new CompoundPositionTester(new DateTime(1985,  4, 11), 218.18,  1.22,  0.441),
                new CompoundPositionTester(new DateTime(1985,  9, 27), 195.41,  3.80,  0.410),
                new CompoundPositionTester(new DateTime(1985,  3, 13),  85.48,  4.26,  0.308),
                new CompoundPositionTester(new DateTime(1985,  4, 17), 235.92, -0.95,  0.459),
                new CompoundPositionTester(new DateTime(1985,  5, 11), 304.89, -6.82,  0.430),
                new CompoundPositionTester(new DateTime(1985, 12, 30), 215.37,  1.56,  0.438),
                new CompoundPositionTester(new DateTime(1985,  6, 16), 127.96,  6.89,  0.328),
                new CompoundPositionTester(new DateTime(1985,  1, 31), 268.92, -4.59,  0.464),
                new CompoundPositionTester(new DateTime(1985,  3, 30), 176.28,  5.52,  0.383),
                new CompoundPositionTester(new DateTime(1985,  6,  4),  54.45,  0.77,  0.312),
                new CompoundPositionTester(new DateTime(2008, 10, 19),  85.92,  4.28,  0.308),
                new CompoundPositionTester(new DateTime(2008,  7,  5), 345.85, -6.22, 0.3737),
                new CompoundPositionTester(new DateTime(2008,  8,  5), 159.05,  6.56,  0.360),
                new CompoundPositionTester(new DateTime(2008,  9, 27), 329.74, -6.87,  0.396),
                new CompoundPositionTester(new DateTime(2008,  4, 20),  48.24, -0.02,  0.314),
                new CompoundPositionTester(new DateTime(2008, 12, 25), 333.74, -6.87,  0.396),
                new CompoundPositionTester(new DateTime(2008,  7, 21),  73.15,  2.95,  0.308),
                new CompoundPositionTester(new DateTime(2008,  5, 16), 188.06,  4.55,  0.399),
                new CompoundPositionTester(new DateTime(2008,  7,  9),   4.29, -4.89,  0.350),
                new CompoundPositionTester(new DateTime(2008,  1, 11), 345.58, -6.24,  0.373),
                new CompoundPositionTester(new DateTime(1987,  6, 20), 242.36, -1.72,  0.463),
                new CompoundPositionTester(new DateTime(1987,  7, 22), 342.69, -6.38,  0.377),
                new CompoundPositionTester(new DateTime(1987,  5, 15),  93.51,  4.99,  0.310),
                new CompoundPositionTester(new DateTime(1987,  3, 30), 258.72, -3.57,  0.467),
                new CompoundPositionTester(new DateTime(1987, 11,  5),  81.36,  3.85,  0.308),
                new CompoundPositionTester(new DateTime(1987,  5, 21), 129.37,  6.92,  0.329),
                new CompoundPositionTester(new DateTime(1987, 10, 23),   5.76, -4.74,  0.348),
                new CompoundPositionTester(new DateTime(1987, 11,  9), 106.25,  5.95,  0.314),
                new CompoundPositionTester(new DateTime(1987, 12, 31), 293.32, -6.36,  0.444),
                new CompoundPositionTester(new DateTime(1987, 12,  2), 209.82,  2.22,  0.430),
                new CompoundPositionTester(new DateTime(1973,  3, 23), 206.80,  2.55,  0.427),
                new CompoundPositionTester(new DateTime(1973,  9,  3), 161.09,  6.45,  0.363),
                new CompoundPositionTester(new DateTime(1973,  3, 20), 196.66,  3.66,  0.412),
                new CompoundPositionTester(new DateTime(1973,  2,  9), 351.91, -5.83,  0.365),
                new CompoundPositionTester(new DateTime(1973, 11, 19), 101.23,  5.62,  0.312),
                new CompoundPositionTester(new DateTime(1973,  1,  4), 237.01, -1.10,  0.459),
                new CompoundPositionTester(new DateTime(1973,  2, 24),  75.63,  3.26,  0.308),
                new CompoundPositionTester(new DateTime(1973,  1, 28), 306.16, -6.86,  0.428),
                new CompoundPositionTester(new DateTime(1973,  6, 21), 213.33,  1.79,  0.435),
                new CompoundPositionTester(new DateTime(1973,  4, 28), 312.97, -6.98, 0.419)
            };
            CompoundPositionTest(Mercury, Tests);
        }
コード例 #5
0
ファイル: OrbitTest.cs プロジェクト: thothrex/SpaceBattles
        public void MercuryOrbitalPeriodTest()
        {
            OrbitingBodyMathematics mercury = OrbitingBodyMathematics.generate_mercury();

            OrbitalPeriodTest(87.969, mercury);
        }