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

            EccentricAnomalyTest(5.077, test_time, neptune);
        }
コード例 #2
0
ファイル: OrbitTest.cs プロジェクト: thothrex/SpaceBattles
        public void NeptunePositionTest()
        {
            OrbitingBodyMathematics neptune = OrbitingBodyMathematics.generate_neptune();
            var test_time = new DateTime(2016, 2, 10);

            PositionTest(neptune, test_time, 339.59, -0.81, 29.898);
        }
コード例 #3
0
ファイル: OrbitTest.cs プロジェクト: thothrex/SpaceBattles
        public void NeptuneCompoundPositionTest()
        {
            OrbitingBodyMathematics Neptune = OrbitingBodyMathematics.generate_neptune();

            CompoundPositionTester[] Tests =
            {
                new CompoundPositionTester(new DateTime(1960,  7, 19),  218.2, 1.77, 30.323),
                new CompoundPositionTester(new DateTime(1960,  1, 23), 217.15, 1.77, 30.322),
                new CompoundPositionTester(new DateTime(1960,  6, 28), 218.08, 1.77, 30.323),
                new CompoundPositionTester(new DateTime(1960,  6, 15),    218, 1.77, 30.323),
                new CompoundPositionTester(new DateTime(1960,  4, 16), 217.65, 1.77, 30.322),
                new CompoundPositionTester(new DateTime(1960,  4,  3), 217.57, 1.77, 30.322),
                new CompoundPositionTester(new DateTime(1960,  1, 16), 217.11, 1.77, 30.322),
                new CompoundPositionTester(new DateTime(1960, 10, 16), 218.73, 1.77, 30.323),
                new CompoundPositionTester(new DateTime(1960,  9, 16), 218.55, 1.77, 30.323),
                new CompoundPositionTester(new DateTime(1960,  5, 27), 217.89, 1.77, 30.323)
            };
            CompoundPositionTest(Neptune, Tests);
        }
コード例 #4
0
ファイル: OrbitTest.cs プロジェクト: thothrex/SpaceBattles
        public void NeptuneOrbitalPeriodTest()
        {
            OrbitingBodyMathematics neptune = OrbitingBodyMathematics.generate_neptune();

            OrbitalPeriodTest(60189.0, neptune);
        }