From f5b8891b1aaf7072ab30ac5929a7e3bf24d70629 Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Thu, 7 May 2026 18:04:12 -0400 Subject: [PATCH] fix comment and tolerance in periapsis test --- tests/test_periapsis_burn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_periapsis_burn.cpp b/tests/test_periapsis_burn.cpp index 3cedae1..f6bc93a 100644 --- a/tests/test_periapsis_burn.cpp +++ b/tests/test_periapsis_burn.cpp @@ -65,8 +65,8 @@ SCENARIO("Periapsis-triggered prograde burn behavior", "[maneuver][periapsis]") // Pre-burn velocity captured at exact burn time (tight tolerance) REQUIRE_THAT(vec3_magnitude(br.velocity), WithinAbs(burn1_preburn_v, V_TOL)); - // Semi-major axis after burn + 60s propagation (propagation-level tolerance) - REQUIRE_THAT(final_sma, WithinAbs(burn1_expected_sma, A_TOL * 10)); + // Semi-major axis after burn + REQUIRE_THAT(final_sma, WithinAbs(burn1_expected_sma, A_TOL)); INFO("Initial SMA: " << a_before << " m"); INFO("Final SMA: " << final_sma << " m");