Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ECSS Services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AcubeSat-OBC
ECSS Services
Commits
46e37508
Commit
46e37508
authored
6 years ago
by
kongr45gpen
Browse files
Options
Downloads
Patches
Plain Diff
Use /* instead of // for multi-line comments
parent
dd5b99c3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/Message.cpp
+6
-4
6 additions, 4 deletions
test/Message.cpp
with
6 additions
and
4 deletions
test/Message.cpp
+
6
−
4
View file @
46e37508
...
...
@@ -104,10 +104,12 @@ TEST_CASE("Requirement 7.3.4 (Unsigned integer)", "[message][ecss]") {
CHECK
(
message
.
readUint32
()
==
2000001
);
SECTION
(
"7.4.3"
)
{
// Make sure the endianness of the message data is correct
// As per the ECSS standard, stored data should be big-endian. However, ARM and x86
// processors store data in little endian format. As a result, special care needs to be
// taken for compliance.
/**
* Make sure the endianness of the message data is correct.
* As per the ECSS standard, stored data should be big-endian. However, ARM and x86
* processors store data in little endian format. As a result, special care needs to be
* taken for compliance.
*/
CHECK
(
message
.
data
[
1
]
==
0x3e
);
CHECK
(
message
.
data
[
2
]
==
0x3d
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment