Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
c6d2df52
Commit
c6d2df52
authored
Jun 18, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve test coverage
parent
9f6f11bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
libcaf_core/test/telemetry/gauge.cpp
libcaf_core/test/telemetry/gauge.cpp
+2
-1
No files found.
libcaf_core/test/telemetry/gauge.cpp
View file @
c6d2df52
...
...
@@ -57,7 +57,8 @@ CAF_TEST(integer gauges can increment and decrement) {
CAF_CHECK_EQUAL
(
g
.
value
(),
-
3
);
CAF_MESSAGE
(
"gauges allow setting values"
);
g
.
value
(
42
);
CAF_CHECK_EQUAL
(
g
.
value
(),
42
);
CAF_MESSAGE
(
"integer gauges also support operator++"
);
CAF_CHECK_EQUAL
(
++
g
,
43
);
CAF_MESSAGE
(
"users can create gauges with custom start values"
);
CAF_CHECK_EQUAL
(
telemetry
::
int_gauge
{
42
}.
value
(),
42
);
}
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