robotology / blockfactory

A tiny framework to wrap algorithms for dataflow programming
https://robotology.github.io/blockfactory
GNU Lesser General Public License v2.1
40 stars 16 forks source link

Enabled ctest-based Unit Testing infrastructure #21

Closed diegoferigo closed 5 years ago

diegoferigo commented 5 years ago

This PR adds Unit Testing capability to the project, exploiting the Catch2 test framework. I already added a test for the core::Signal class, and the test caught a bug in it.

diegoferigo commented 5 years ago

Thanks! Integrated your suggestions. I have few staging changes to the core::Signal class but I'll open a new PR for them.

Btw, I really like the new force-push feature, authors of PRs can safely force push and the reviewers can clearly see what is the diff, no need to push temporary commits that must be squashed at a later time :top: