rene0 / dcf77pi

Yet another DCF77 decoder. This one is intended for the Raspberry Pi platform but might work on other devices using GPIO pins too.
BSD 2-Clause "Simplified" License
18 stars 6 forks source link

Unit tests #3

Open rene0 opened 8 years ago

rene0 commented 8 years ago

Add unit tests for all functions in libdcf77. Perhaps if a test is difficult to write/run, the corresponding function needs to be refactored.

Testing the GPIO pin reading needs some live tests to read a 0 pulse and a 1 pulse for example. This part is probably platform specific (which platforms to keep?)