Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
f83b8b10
Commit
f83b8b10
authored
Dec 25, 2013
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed broken Unit Test
parent
b82ed5c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
UASUnitTest.cc
src/qgcunittest/UASUnitTest.cc
+6
-3
UASUnitTest.h
src/qgcunittest/UASUnitTest.h
+2
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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