Commit 43c19c49 by Tobias Fuchs

dataflow_cpp: added assertion in unit test

parent 40f144e8
......@@ -158,7 +158,7 @@ void SimpleTest::TestBasic() {
128, // max groups (default: 128)
// Currently needs to be initialized
// 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)
4 // num priorities (default: 4)
);
......@@ -211,8 +211,7 @@ void SimpleTest::TestBasic() {
try {
network();
} catch (embb::base::ErrorException & e) {
std::cout << e.What() << std::endl;
break;
PT_ASSERT_MSG(false, e.What());
}
PT_EXPECT(asink.Check());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment