From 19555147736b31a3a00269ab88093066cfa8fbfd Mon Sep 17 00:00:00 2001
From: Luc Maisonobe <luc@orekit.org>
Date: Wed, 22 Oct 2014 11:34:49 +0200
Subject: [PATCH] Removed commented-out test code.

---
 .../duvenhage/DuvenhageAlgorithmTest.java     | 21 -------------------
 1 file changed, 21 deletions(-)

diff --git a/core/src/test/java/org/orekit/rugged/intersection/duvenhage/DuvenhageAlgorithmTest.java b/core/src/test/java/org/orekit/rugged/intersection/duvenhage/DuvenhageAlgorithmTest.java
index c4e10014..f57b0751 100644
--- a/core/src/test/java/org/orekit/rugged/intersection/duvenhage/DuvenhageAlgorithmTest.java
+++ b/core/src/test/java/org/orekit/rugged/intersection/duvenhage/DuvenhageAlgorithmTest.java
@@ -184,9 +184,6 @@ public class DuvenhageAlgorithmTest extends AbstractAlgorithmTest {
                                      1.0e-6);
 
         // line of sight in the North row
-//        Assert.assertEquals(southTile.getMaximumLatitude() + 0.0625 * southTile.getLatitudeStep(),
-//                            findExit(algorithm, southTile, 128.0625, 32.0).getLatitude(),
-//                            1.0e-6);
         Assert.assertEquals(southTile.getMaximumLatitude() + 0.0625 * southTile.getLatitudeStep(),
                             findExit(algorithm, southTile,
                                      new Vector3D(6251729.731998736, 984354.4963428857, -789526.5774750853),
@@ -195,24 +192,6 @@ public class DuvenhageAlgorithmTest extends AbstractAlgorithmTest {
 
     }
 
-//    private NormalizedGeodeticPoint findExit(IntersectionAlgorithm algorithm, Tile tile,
-//                                             double exitLat, double exitLon)
-//        throws RuggedException, OrekitException {
-//
-//        double latX = tile.getMinimumLatitude() + exitLat * tile.getLatitudeStep();
-//        double lonX = tile.getMinimumLongitude() + exitLon * tile.getLongitudeStep();
-//        GeodeticPoint exitGP = new GeodeticPoint(latX, lonX, tile.getMinElevation() - 0.01);
-//        Vector3D exit = earth.transform(exitGP);
-//        final Vector3D zenith      = exitGP.getZenith();
-//        final Vector3D los = Vector3D.crossProduct(Vector3D.PLUS_K, zenith).normalize();
-//        NormalizedGeodeticPoint gp = findExit(algorithm, tile, new Vector3D(1, exit, -500, los), los);
-//        System.out.println(gp.getLatitude() - exitGP.getLatitude());
-//        System.out.println(gp.getLongitude() - exitGP.getLongitude());
-//        System.out.println(gp.getAltitude() - exitGP.getAltitude());
-//        return gp;
-//
-//    }
-
     private NormalizedGeodeticPoint findExit(IntersectionAlgorithm algorithm, Tile tile, Vector3D position, Vector3D los)
         throws RuggedException, OrekitException {
 
-- 
GitLab