Commit f83b8b10 authored by Don Gagne's avatar Don Gagne

Fixed broken Unit Test

parent b82ed5c5
......@@ -147,9 +147,13 @@ void UASUnitTest::getLongitude_test()
{
QCOMPARE(uas->getLongitude(), 0.0);
}
void UASUnitTest::getAltitude_test()
void UASUnitTest::getAltitudeAMSL_test()
{
QCOMPARE(uas->getAltitude(), 0.0);
QCOMPARE(uas->getAltitudeAMSL(), 0.0);
}
void UASUnitTest::getAltitudeRelative_test()
{
QCOMPARE(uas->getAltitudeRelative(), 0.0);
}
void UASUnitTest::getRoll_test()
{
......@@ -316,7 +320,6 @@ void UASUnitTest::signalUASLink_test()
{
qDebug()<< link->getName();
qDebug()<< QString::number(link->getId());
qDebug()<< QString::number(link->getNominalDataRate());
QVERIFY(link != NULL);
uas->addLink(link);
}
......
......@@ -42,7 +42,8 @@ private slots:
void getLocalZ_test();
void getLatitude_test();
void getLongitude_test();
void getAltitude_test();
void getAltitudeAMSL_test();
void getAltitudeRelative_test();
void getRoll_test();
void getPitch_test();
void getYaw_test();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment