Set up a framework to be able to do unit tests on the code. Especially when developing our own applications on top of the loconet framework, it would be great if we could add unit tests. E.g. to test whether the system responds correctly on receiving a message, or responds well on the fast clock...
Set up a framework to be able to do unit tests on the code. Especially when developing our own applications on top of the loconet framework, it would be great if we could add unit tests. E.g. to test whether the system responds correctly on receiving a message, or responds well on the fast clock...
My suggestion would be to use unity: http://www.throwtheswitch.org/unity/