Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Fix/gravitymodel (#87)
Browse files Browse the repository at this point in the history
* Analyze

* Fix integration of perturbing bodies

* Upgrade package version
  • Loading branch information
sylvain-guillet authored Apr 17, 2024
1 parent 451fe79 commit 1de4110
Show file tree
Hide file tree
Showing 5 changed files with 173 additions and 112 deletions.
4 changes: 2 additions & 2 deletions IO.Astrodynamics.Tests/Body/InstrumentTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ public async Task FindWindowInFieldOfView()
//Read results
Assert.Equal(2, res.Count());
Assert.Equal("2021-06-10T00:00:00.0000000 (TDB)", res.ElementAt(0).StartDate.ToFormattedString());
Assert.Equal("2021-06-10T00:29:04.3352557 (TDB)", res.ElementAt(0).EndDate.ToFormattedString());
Assert.Equal("2021-06-10T01:04:01.1560275 (TDB)", res.ElementAt(1).StartDate.ToFormattedString());
Assert.Equal("2021-06-10T00:29:06.9432963 (TDB)", res.ElementAt(0).EndDate.ToFormattedString());
Assert.Equal("2021-06-10T01:03:53.6121456 (TDB)", res.ElementAt(1).StartDate.ToFormattedString());
Assert.Equal("2021-06-10T01:47:26.0000000 (TDB)", res.ElementAt(1).EndDate.ToFormattedString());

Assert.Throws<ArgumentNullException>(() => spacecraft.Instruments.First().FindWindowsInFieldOfViewConstraint(
Expand Down
Loading

0 comments on commit 1de4110

Please sign in to comment.