Skip to content

Commit

Permalink
Removed Debugging Prints
Browse files Browse the repository at this point in the history
  • Loading branch information
nguy8tri committed Oct 17, 2024
1 parent 35eab8e commit 7b2f71c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/distance/distance-test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ TEST(SphericalDistanceDeterminationAlgorithmTest, TestCenteredEarth) {
Vec3 p2 = {static_cast<decimal>(p * cos(alpha)), static_cast<decimal>(-p * sin(alpha)), 0};
Vec3 p3 = {static_cast<decimal>(p * cos(alpha)), 0, static_cast<decimal>(p * sin(alpha))};

std::cout << p1 * (1/p1.x) << std::endl;

// Step III: Use CTS to convert to 2D vectors
Points pts = {cam.SpatialToCamera(p1),
cam.SpatialToCamera(p2),
Expand All @@ -87,7 +85,5 @@ TEST(SphericalDistanceDeterminationAlgorithmTest, TestCenteredEarth) {

PositionVector actual = algo.Run(pts);

std::cout << "Actual Result: " << actual << std::endl;

VECTOR_EQUALS(expected, actual, DEFAULT_TOLERANCE);
}

0 comments on commit 7b2f71c

Please sign in to comment.