Unit testing considerations and examples

What's your understanding of "unit tests" with microcontrollers?

Typical unit tests check the value returned from a test program.
How would you make an Arduino sketch return a value?
Which values should be applicable to a buzzer?
How do you determine the value inside the sketch?

1 Like