update test to add optimum delay
This commit is contained in:
parent
03a6e614b8
commit
c8949c8a2e
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user