Fixed all issues detected by the test cases under MinGW - such as usage of abs() -> changed to qAbs(), rounding issues detected during calculations, and changed streaming methods with qDebug() (QDebug vs &QDebug issue).

This commit is contained in:
Klaus Basan
2013-04-30 01:43:14 +02:00
parent c6426a0759
commit 8f5d9263fd
11 changed files with 70 additions and 38 deletions

View File

@@ -32,7 +32,8 @@ void CTestAviation::headingBasics()
h4 = h1;
QVERIFY2(h1 != h2, "Magnetic and true heading are not the same");
QVERIFY2(h1 < h3, "180deg are less than 181deg");
QVERIFY2(a1 > h3, "200deg are more than 200deg");
QVERIFY2(h3 > h1, "181deg are more than 181deg");
QVERIFY2(a1 > h3, "200deg are more than 181deg");
QVERIFY2(h4 == h1, "Values shall be equal");
h1 -= h1;