Commit Graph

11 Commits

Author SHA1 Message Date
Josh Stewart 33dc5e58dd Add unit tests for pulse width calculation 2020-04-23 16:20:09 +10:00
Josh Stewart 21412e74a1 Provide missing externs from last commit to allow unit testing 2020-04-02 09:54:43 +11:00
Josh Stewart a611e00f57 Add tests for table lookups 2020-03-16 11:58:01 +11:00
Josh Stewart dc2f06241a Add basic tests for the dual wheel decoder 2020-03-04 18:58:23 +11:00
Josh Stewart 349d03249d Introduce tests for the setEndTooth function in missing tooth 2020-02-13 11:51:58 +11:00
Josh Stewart 1054f1d290 Restructure all units tests in single layered arrangement 2020-02-11 23:33:00 +11:00
Bruno Bousquet 76319fdf22
Separate one schedule unit test per function (#315)
* one test per function

* add tests

* use initialiseSchedulers in tests

* remove generic tests for schedules

* fix schedule accuracy tests

* fix warning static function never defined

* fix test_schedule not working
2020-02-04 09:19:42 +11:00
Josh Stewart 4f5a2bdc35 Fix for failing test_corrections_WUE_active on blank board 2020-02-03 17:36:07 +11:00
Bruno Bousquet 68f2288dd7
add schedule test (#312)
add temp test file to gitignore


improve schedule testing


add check for schedule delays and pending variants

move time sampling to callback methods

add comments and improve pending tests
2020-01-30 16:17:20 +11:00
Josh Stewart a5d3a311b6 Example unit tests for corrections 2020-01-24 14:18:57 +11:00
Josh Stewart b2c27b7eb0 Initial commit of the unit testing framework 2020-01-24 12:21:12 +11:00