mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 17:30:12 +08:00
refs #838 Move interpolator unittest from testblackcore to testblackmisc.
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "testblackcoremain.h"
|
#include "testblackcoremain.h"
|
||||||
#include "testinterpolator.h"
|
|
||||||
#include "testnetwork.h"
|
#include "testnetwork.h"
|
||||||
#include "testreaders.h"
|
#include "testreaders.h"
|
||||||
#include "blackmisc/test.h"
|
#include "blackmisc/test.h"
|
||||||
@@ -30,10 +29,6 @@ namespace BlackCoreTest
|
|||||||
BlackMisc::CTest test(argc, argv);
|
BlackMisc::CTest test(argc, argv);
|
||||||
|
|
||||||
int status = 0;
|
int status = 0;
|
||||||
{
|
|
||||||
CTestInterpolator interpolatorTests;
|
|
||||||
status |= test.exec(&interpolatorTests, "blackcore_interpolator");
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
CTestReaders readersTests;
|
CTestReaders readersTests;
|
||||||
status |= test.exec(&readersTests, "blackcore_readers");
|
status |= test.exec(&readersTests, "blackcore_readers");
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
#include "testgeo.h"
|
#include "testgeo.h"
|
||||||
#include "testidentifier.h"
|
#include "testidentifier.h"
|
||||||
#include "testinput.h"
|
#include "testinput.h"
|
||||||
|
#include "testinterpolator.h"
|
||||||
#include "testlibrarypath.h"
|
#include "testlibrarypath.h"
|
||||||
#include "testmath.h"
|
#include "testmath.h"
|
||||||
#include "testphysicalquantities.h"
|
#include "testphysicalquantities.h"
|
||||||
@@ -92,6 +93,10 @@ namespace BlackMiscTest
|
|||||||
CTestMath mathTests;
|
CTestMath mathTests;
|
||||||
status |= test.exec(&mathTests, "blackmisc_math");
|
status |= test.exec(&mathTests, "blackmisc_math");
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
CTestInterpolator interpolatorTests;
|
||||||
|
status |= test.exec(&interpolatorTests, "blackmisc_interpolator");
|
||||||
|
}
|
||||||
{
|
{
|
||||||
CTestLibraryPath libraryPathTests;
|
CTestLibraryPath libraryPathTests;
|
||||||
status |= test.exec(&libraryPathTests, "blackmisc_librarypath");
|
status |= test.exec(&libraryPathTests, "blackmisc_librarypath");
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \file
|
* \file
|
||||||
* \ingroup testblackcore
|
* \ingroup testblackmisc
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "testinterpolator.h"
|
#include "testinterpolator.h"
|
||||||
@@ -51,7 +51,7 @@ using namespace BlackMisc::Geo;
|
|||||||
using namespace BlackMisc::PhysicalQuantities;
|
using namespace BlackMisc::PhysicalQuantities;
|
||||||
using namespace BlackMisc::Simulation;
|
using namespace BlackMisc::Simulation;
|
||||||
|
|
||||||
namespace BlackCoreTest
|
namespace BlackMiscTest
|
||||||
{
|
{
|
||||||
|
|
||||||
void CTestInterpolator::linearInterpolator()
|
void CTestInterpolator::linearInterpolator()
|
||||||
@@ -7,14 +7,14 @@
|
|||||||
* contained in the LICENSE file.
|
* contained in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BLACKCORETEST_TESTINTERPOLATOR_H
|
#ifndef BLACKMISCTEST_TESTINTERPOLATOR_H
|
||||||
#define BLACKCORETEST_TESTINTERPOLATOR_H
|
#define BLACKMISCTEST_TESTINTERPOLATOR_H
|
||||||
|
|
||||||
//! \cond PRIVATE_TESTS
|
//! \cond PRIVATE_TESTS
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \file
|
* \file
|
||||||
* \ingroup testblackcore
|
* \ingroup testblackmisc
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "blackmisc/aviation/aircraftparts.h"
|
#include "blackmisc/aviation/aircraftparts.h"
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
namespace BlackMisc { namespace Aviation { class CCallsign; } }
|
namespace BlackMisc { namespace Aviation { class CCallsign; } }
|
||||||
|
|
||||||
namespace BlackCoreTest
|
namespace BlackMiscTest
|
||||||
{
|
{
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Reference in New Issue
Block a user