mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Changed order of samples directory, started with aviation classes.
This commit is contained in:
23
samples/blackmiscquantities/samplesaviation.cpp
Normal file
23
samples/blackmiscquantities/samplesaviation.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "samplesaviation.h"
|
||||
|
||||
namespace BlackMiscTest {
|
||||
|
||||
/**
|
||||
* Samples
|
||||
*/
|
||||
int CSamplesAviation::samples()
|
||||
{
|
||||
// CSpeed s1(10, CSpeedUnit::kts());
|
||||
CHeading h1(180, true, CAngleUnit::deg());
|
||||
CHeading h2(180, false, CAngleUnit::deg());
|
||||
qDebug() << h1 << h2 << (h1 == h2) << (h1 != h2) << (h1 == h1);
|
||||
|
||||
CAviationVerticalPositions vp1 = CAviationVerticalPositions::fromAltitudeAndElevationInFt(10000.0, 1111.0);
|
||||
CAviationVerticalPositions vp2 = vp1;
|
||||
qDebug() << vp1 << (vp1 == vp2) << (vp1 != vp2);
|
||||
|
||||
// bye
|
||||
return 0;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user