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
7058f175
Commit
7058f175
authored
Feb 07, 2018
by
DonLakeFlyer
Browse files
Fix off by 1
parent
65800bfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/CorridorScanComplexItemTest.cc
View file @
7058f175
...
...
@@ -138,12 +138,12 @@ void CorridorScanComplexItemTest::_testItemCount(void)
_corridorItem
->
cameraTriggerInTurnAround
()
->
setRawValue
(
false
);
_corridorItem
->
appendMissionItems
(
items
,
this
);
QCOMPARE
(
items
.
count
(),
_corridorItem
->
lastSequenceNumber
());
QCOMPARE
(
items
.
count
()
-
1
,
_corridorItem
->
lastSequenceNumber
());
items
.
clear
();
_corridorItem
->
cameraTriggerInTurnAround
()
->
setRawValue
(
true
);
_corridorItem
->
appendMissionItems
(
items
,
this
);
QCOMPARE
(
items
.
count
(),
_corridorItem
->
lastSequenceNumber
());
QCOMPARE
(
items
.
count
()
-
1
,
_corridorItem
->
lastSequenceNumber
());
items
.
clear
();
}
...
...
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