Part 0: Setting up the tools
One important activity we shall not miss is unit testing, a “must” on software development, saves a lot of time debugging errors in advance and make our life easier by far. There several
One important activity we shall not miss is unit testing, a “must” on software development, saves a lot of time debugging errors in advance and make our life easier by far. There several
It is really easy to create unit tests in general but it will take some practice to master this new concept, if functions has parameters and return values, then things are straight forward
Not every function will be as easy as a simple arithmetic operations, unfortunately we are writing code in C, that means arrays, pointers, structures and even global variables of any kind are our
Static function are those you want to use only for internal driver use, and therefore their prototypes will never be written in
State machines is like a lot for embedded software, and for sure can be tested in all of their forms, but lest begin with the most simple example. A state machine that with three states that only moves the next state on each one.