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
880e5a0c
Commit
880e5a0c
authored
May 07, 2012
by
neverlord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added test for zero-duration timeout
parent
7793a7a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
unit_testing/test__match.cpp
unit_testing/test__match.cpp
+12
-0
No files found.
unit_testing/test__match.cpp
View file @
880e5a0c
...
...
@@ -35,6 +35,18 @@ size_t test__match()
using
namespace
std
::
placeholders
;
using
namespace
cppa
::
placeholders
;
auto
fun
=
(
on
<
int
>
()
>>
[](
int
i
)
{
cout
<<
"i = "
<<
i
<<
endl
;
},
after
(
std
::
chrono
::
seconds
(
0
))
>>
[]()
{
cout
<<
"no int found in mailbox"
<<
endl
;
}
);
auto
expr0_a
=
gcall
(
ascending
,
_x1
,
_x2
,
_x3
);
CPPA_CHECK
(
ge_invoke
(
expr0_a
,
1
,
2
,
3
));
CPPA_CHECK
(
!
ge_invoke
(
expr0_a
,
3
,
2
,
1
));
...
...
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