mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-12 04:35:41 +08:00
refs #386, further tests for interpolator
* calculate single vs. calculate all interpolations upfront * added clear for interpolator
This commit is contained in:
@@ -266,7 +266,7 @@ namespace BlackMiscTest
|
||||
CAircraftSituation s;
|
||||
s.setCallsign("CS" + QString::number(i));
|
||||
s.setMSecsSinceEpoch(cTs);
|
||||
situations.insertTimestampObject(s, maxElements);
|
||||
situations.push_frontMaxElements(s, maxElements);
|
||||
if (i > maxElements - 1)
|
||||
{
|
||||
QVERIFY2(situations.size() == maxElements, "Situations must only contain max.elements");
|
||||
|
||||
Reference in New Issue
Block a user