Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Orekit
Rugged
Commits
0647c5f6
Commit
0647c5f6
authored
Mar 07, 2019
by
Luc Maisonobe
Browse files
Improved test coverage.
parent
840e45d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/org/orekit/rugged/intersection/AbstractAlgorithmTest.java
View file @
0647c5f6
...
...
@@ -130,6 +130,8 @@ public abstract class AbstractAlgorithmTest {
Vector3D
groundP
=
earth
.
transform
(
groundGP
);
final
IntersectionAlgorithm
algorithm
=
createAlgorithm
(
updater
,
8
);
Assert
.
assertEquals
(
0.0
,
algorithm
.
getElevation
(
latitude
,
longitude
-
2.0
e
-
5
),
1.0
e
-
6
);
Assert
.
assertEquals
(
120.0
,
algorithm
.
getElevation
(
latitude
,
longitude
+
2.0
e
-
5
),
1.0
e
-
6
);
// preliminary check: the point has been chosen in the spacecraft (YZ) plane
Transform
earthToSpacecraft
=
new
Transform
(
state
.
getDate
(),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment