mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #386, further improvements on interpolation
* extended unit tests for interpolator / parts testing * allow to skip sorting when splitting by time * update ot aircraft to FSX in own member function * Skip time sync parts (FSX) when disabled
This commit is contained in:
@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
else if (i.startsWith("2"))
|
||||
{
|
||||
BlackSimTest::CSamplesFsx::samples(streamOut);
|
||||
BlackSimTest::CSamplesFsx::samplesMisc(streamOut);
|
||||
}
|
||||
else if (i.startsWith("3"))
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace BlackSimTest
|
||||
/*
|
||||
* Samples
|
||||
*/
|
||||
int CSamplesFsx::samples(QTextStream &streamOut)
|
||||
int CSamplesFsx::samplesMisc(QTextStream &streamOut)
|
||||
{
|
||||
BlackSim::registerMetadata();
|
||||
streamOut << CSimConnectUtilities::simConnectExceptionToString(CSimConnectUtilities::SIMCONNECT_EXCEPTION_ALREADY_SUBSCRIBED) << endl;
|
||||
@@ -29,4 +29,10 @@ namespace BlackSimTest
|
||||
return 0;
|
||||
}
|
||||
|
||||
int CSamplesFsx::driverTest(QTextStream &streamOut)
|
||||
{
|
||||
Q_UNUSED(streamOut);
|
||||
return 0;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -20,8 +20,12 @@ namespace BlackSimTest
|
||||
class CSamplesFsx
|
||||
{
|
||||
public:
|
||||
//! Run the samples
|
||||
static int samples(QTextStream &streamOut);
|
||||
//! Run the misc. samples
|
||||
static int samplesMisc(QTextStream &streamOut);
|
||||
|
||||
//! Driver test / SimConnect test
|
||||
static int driverTest(QTextStream &streamOut);
|
||||
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user