Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherRabotin committed May 3, 2017
1 parent 9793a09 commit f302957
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mission_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func TestMissionGEO(t *testing.T) {
}

func TestMission1DayNoJ2(t *testing.T) {
virtObj := CelestialObject{"virtObj", 6378.145, 149598023, 398600.4, 23.4, 0.00005, 924645.0, 0.00108248, -2.5324e-6, -1.6204e-6, nil}
virtObj := CelestialObject{"virtObj", 6378.145, 149598023, 398600.4, 23.4, 0.00005, 924645.0, 0.00108248, -2.5324e-6, -1.6204e-6, 0, nil}
orbit := NewOrbitFromRV([]float64{-2436.45, -2436.45, 6891.037}, []float64{5.088611, -5.088611, 0}, virtObj)
startDT := time.Now()
endDT := startDT.Add(24 * time.Hour)
Expand All @@ -134,7 +134,7 @@ func TestMission1DayNoJ2(t *testing.T) {
}

func TestMission1DayWithJ2(t *testing.T) {
virtObj := CelestialObject{"virtObj", 6378.145, 149598023, 398600.4, 23.4, 0.00005, 924645.0, 0.00108248, -2.5324e-6, -1.6204e-6, nil}
virtObj := CelestialObject{"virtObj", 6378.145, 149598023, 398600.4, 23.4, 0.00005, 924645.0, 0.00108248, -2.5324e-6, -1.6204e-6, 0, nil}
orbit := NewOrbitFromRV([]float64{-2436.45, -2436.45, 6891.037}, []float64{5.088611, -5.088611, 0}, virtObj)
startDT := time.Now()
endDT := startDT.Add(24 * time.Hour)
Expand Down

0 comments on commit f302957

Please sign in to comment.