Update unit tests since rocket is now a copy during the simulation

This commit is contained in:
JoePfeiffer 2023-01-17 09:32:32 -07:00
parent 768dcdaead
commit b272a98620

View File

@ -74,7 +74,7 @@ public class FlightEventsTest extends BaseTestCase {
// Test that the event sources are correct
for (int i = 0; i < expectedSources.length; i++) {
assertSame(" Flight type " + expectedEventTypes[i] + " has wrong source",
assertEquals(" Flight type " + expectedEventTypes[i] + " has wrong source",
expectedSources[i], eventList.get(i).getSource());
}
}
@ -149,7 +149,7 @@ public class FlightEventsTest extends BaseTestCase {
// Test that the event sources are correct
for (int i = 0; i < expectedSources.length; i++) {
assertSame(" Flight type " + expectedEventTypes[i] + " has wrong source",
assertEquals(" Flight type " + expectedEventTypes[i] + " has wrong source",
expectedSources[i], eventList.get(i).getSource());
}
}