mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-14 17:41:39 +08:00
Unit tests for acceleration and more for vector
This commit is contained in:
@@ -24,49 +24,64 @@ public:
|
||||
* \brief Standard test case constructor
|
||||
* \param parent
|
||||
*/
|
||||
explicit CTestPhysicalQuantities(QObject *parent = 0);
|
||||
explicit CTestPhysicalQuantities(QObject *parent = 0) : QObject(parent) {}
|
||||
|
||||
private slots:
|
||||
/*!
|
||||
* \brief Basic unit tests for physical units
|
||||
*/
|
||||
void unitsBasics();
|
||||
|
||||
/*!
|
||||
* \brief Basic tests around length
|
||||
*/
|
||||
void lengthBasics();
|
||||
|
||||
/*!
|
||||
* \brief Basic tests about speed
|
||||
*/
|
||||
void speedBasics();
|
||||
|
||||
/*!
|
||||
* \brief Frequency tests
|
||||
*/
|
||||
void frequencyTests();
|
||||
|
||||
/*!
|
||||
* \brief Testing angles (degrees / radians)
|
||||
*/
|
||||
void angleTests();
|
||||
|
||||
/*!
|
||||
* \brief Testing angles
|
||||
*/
|
||||
void massTests();
|
||||
|
||||
/*!
|
||||
* \brief Testing pressure
|
||||
*/
|
||||
void pressureTests();
|
||||
|
||||
/*!
|
||||
* \brief Testing temperature
|
||||
*/
|
||||
void temperatureTests();
|
||||
|
||||
/*!
|
||||
* \brief Testing time
|
||||
*/
|
||||
void timeTests();
|
||||
|
||||
/*!
|
||||
* \brief Testing acceleration
|
||||
*/
|
||||
void accelerationTests();
|
||||
|
||||
/*!
|
||||
* \brief Testing construction / destruction in memory
|
||||
*/
|
||||
void memoryTests();
|
||||
|
||||
/*!
|
||||
* \brief Basic arithmetic such as +/-
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user