Update unit tests since rocket is now a copy during the simulation
This commit is contained in:
parent
768dcdaead
commit
b272a98620
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user