Changed order of samples directory, started with aviation classes.

This commit is contained in:
Klaus Basan
2013-04-01 21:53:35 +02:00
parent f77258343d
commit 943872ff67
34 changed files with 911 additions and 147 deletions

View 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