From 41260d7ee9caa898dbb81c1487ff29720c6ee83b Mon Sep 17 00:00:00 2001 From: SiboVG Date: Thu, 22 Dec 2022 00:25:33 +0100 Subject: [PATCH] Increase flight event time margin --- core/test/net/sf/openrocket/simulation/FlightEventsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/test/net/sf/openrocket/simulation/FlightEventsTest.java b/core/test/net/sf/openrocket/simulation/FlightEventsTest.java index 2dc047a22..4aa1df57f 100644 --- a/core/test/net/sf/openrocket/simulation/FlightEventsTest.java +++ b/core/test/net/sf/openrocket/simulation/FlightEventsTest.java @@ -66,7 +66,7 @@ public class FlightEventsTest extends BaseTestCase { // Test that the event times are correct for (int i = 0; i < expectedEventTimes.length; i++) { assertEquals(" Flight type " + expectedEventTypes[i] + " has wrong time", - expectedEventTimes[i], eventList.get(i).getTime(), 0.001); + expectedEventTimes[i], eventList.get(i).getTime(), 0.002); } @@ -142,7 +142,7 @@ public class FlightEventsTest extends BaseTestCase { // Test that the event times are correct for (int i = 0; i < expectedEventTimes.length; i++) { assertEquals(" Flight type " + expectedEventTypes[i] + " has wrong time", - expectedEventTimes[i], eventList.get(i).getTime(), 0.001); + expectedEventTimes[i], eventList.get(i).getTime(), 0.002); } // Test that the event sources are correct