-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
@testset "T" begin | ||
furnsh(path(:LSK)) | ||
furnsh(path(CORE, :lsk)) | ||
@test tyear() == 3.15569259747e7 | ||
@test timout(0.0, "MON DD,YYYY HR:MN:SC.#### (TDB) ::TDB") == "JAN 01,2000 12:00:00.0000 (TDB)" | ||
@test_throws SpiceException timout(0.0, "") | ||
unload(path(:LSK)) | ||
unload(path(CORE, :lsk)) | ||
|
||
furnsh(path(:PCK)) | ||
furnsh(path(CORE, :pck)) | ||
@test round.(tisbod("J2000", 399, 0.0) .* 1000000) ./ 1000000 == [ 0.176174 -0.984359 -0.0 0.0 0.0 0.0 | ||
0.984359 0.176174 0.0 0.0 0.0 0.0 | ||
0.0 0.0 1.0 0.0 0.0 0.0 | ||
7.2e-5 1.3e-5 -0.0 0.176174 -0.984359 -0.0 | ||
-1.3e-5 7.2e-5 -0.0 0.984359 0.176174 0.0 | ||
0.0 -0.0 0.0 0.0 0.0 1.0] | ||
0.984359 0.176174 0.0 0.0 0.0 0.0 | ||
0.0 0.0 1.0 0.0 0.0 0.0 | ||
7.2e-5 1.3e-5 -0.0 0.176174 -0.984359 -0.0 | ||
-1.3e-5 7.2e-5 -0.0 0.984359 0.176174 0.0 | ||
0.0 -0.0 0.0 0.0 0.0 1.0] | ||
@test_throws SpiceException tisbod("J2000", 3, 0.0) | ||
unload(path(:PCK)) | ||
unload(path(CORE, :pck)) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
@testset "X" begin | ||
furnsh(path(:PCK)) | ||
furnsh(path(CORE, :pck)) | ||
sx = sxform("J2000", "IAU_JUPITER", 0.0) | ||
eulang, unique = xf2eul(sx, 3, 1, 3) | ||
@test round.(eulang.*100000)./100000 == [-3.10768, 0.44513, -1.83172, -0.0, 0.0, 0.0] | ||
@test_throws SpiceException xf2eul(sx, 4, 1, 4) | ||
unload(path(:PCK)) | ||
unload(path(CORE, :pck)) | ||
end |