Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
43c19c49
authored
Mar 31, 2015
by
Tobias Fuchs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dataflow_cpp: added assertion in unit test
parent
40f144e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
dataflow_cpp/test/dataflow_cpp_test_simple.cc
+2
-3
No files found.
dataflow_cpp/test/dataflow_cpp_test_simple.cc
View file @
43c19c49
...
@@ -158,7 +158,7 @@ void SimpleTest::TestBasic() {
...
@@ -158,7 +158,7 @@ void SimpleTest::TestBasic() {
128
,
// max groups (default: 128)
128
,
// max groups (default: 128)
// Currently needs to be initialized
// Currently needs to be initialized
// with (max_queues + 1), see defect embb449
// with (max_queues + 1), see defect embb449
num_cores
+
1
,
// max queues (default: 16)
num_cores
,
// max queues (default: 16)
1024
,
// queue capacity (default: 1024)
1024
,
// queue capacity (default: 1024)
4
// num priorities (default: 4)
4
// num priorities (default: 4)
);
);
...
@@ -211,8 +211,7 @@ void SimpleTest::TestBasic() {
...
@@ -211,8 +211,7 @@ void SimpleTest::TestBasic() {
try
{
try
{
network
();
network
();
}
catch
(
embb
::
base
::
ErrorException
&
e
)
{
}
catch
(
embb
::
base
::
ErrorException
&
e
)
{
std
::
cout
<<
e
.
What
()
<<
std
::
endl
;
PT_ASSERT_MSG
(
false
,
e
.
What
());
break
;
}
}
PT_EXPECT
(
asink
.
Check
());
PT_EXPECT
(
asink
.
Check
());
...
...
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