From c8949c8a2ee1bd40cf1cc21d15a0bc39beeff41f Mon Sep 17 00:00:00 2001 From: JoePfeiffer Date: Mon, 9 Oct 2023 10:15:41 -0600 Subject: [PATCH] update test to add optimum delay --- core/test/net/sf/openrocket/simulation/TestFlightData.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/test/net/sf/openrocket/simulation/TestFlightData.java b/core/test/net/sf/openrocket/simulation/TestFlightData.java index 66889dc76..16485f66e 100644 --- a/core/test/net/sf/openrocket/simulation/TestFlightData.java +++ b/core/test/net/sf/openrocket/simulation/TestFlightData.java @@ -52,11 +52,12 @@ public class TestFlightData { double maxAltitude = 355.1; double maxMachNumber = 0.31; double timeToApogee = 7.96; + double optimumDelay = 5.2; FlightData data = new FlightData(maxAltitude, maxVelocity, maxAcceleration, maxMachNumber, timeToApogee, flightTime, groundHitVelocity, launchRodVelocity, - deploymentVelocity); + deploymentVelocity, optimumDelay); WarningSet warnings = data.getWarningSet(); assertNotNull(warnings); @@ -71,6 +72,7 @@ public class TestFlightData { assertEquals(maxAltitude, data.getMaxAltitude(), 0.00); assertEquals(maxMachNumber, data.getMaxMachNumber(), 0.00); assertEquals(timeToApogee, data.getTimeToApogee(), 0.00); + assertEquals(optimumDelay, data.getOptimumDelay(), 0.00); } /**