Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
f83b8b10
Commit
f83b8b10
authored
Dec 25, 2013
by
Don Gagne
Browse files
Fixed broken Unit Test
parent
b82ed5c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/qgcunittest/UASUnitTest.cc
View file @
f83b8b10
...
...
@@ -147,9 +147,13 @@ void UASUnitTest::getLongitude_test()
{
QCOMPARE
(
uas
->
getLongitude
(),
0.0
);
}
void
UASUnitTest
::
getAltitude_test
()
void
UASUnitTest
::
getAltitude
AMSL
_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
);
}
...
...
src/qgcunittest/UASUnitTest.h
View file @
f83b8b10
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment