Commit Graph

11 Commits (e7812ecf16945fb41df201e6c8a65c0f8a421b59)

Author SHA1 Message Date
D.R.racer e7812ecf16 Fix+verify Cut filament unit test
it now finished ok, but future tweaks and improvements are expected
2021-06-18 09:42:56 +02:00
D.R.racer 2dd19e94aa Introduce Timebase module, refactor timing code + unit tests 2021-06-18 09:15:36 +02:00
D.R.racer 7a265cef78 Feed to FINDA unit tests : green 2021-06-18 07:46:55 +02:00
D.R.racer f9a715b8e8 Verify+fix second Feed to FINDA's unit test 2021-06-18 07:33:01 +02:00
D.R.racer 1b1e70a9e2 Unify buttons' API with other modules
- accepts millis() instead of doing the timing internally (which has
been a temporary solution just for the tests until now)
2021-06-18 07:27:43 +02:00
D.R.racer e136f5cd87 Shorten ADC reinit usage 2021-06-18 06:47:01 +02:00
D.R.racer 5bae3e8d23 Add forced reinit of all automata for the unit tests
+ added a few constexpr to constructors on the way
2021-06-18 06:47:01 +02:00
D.R.racer 87caa89354 Tune Feed to FINDA state machine and its unit test
so that it works as expected

Still, there is a task of resetting all of the state machines just for
the next unit test to be run.
2021-06-18 06:47:01 +02:00
D.R.racer 0943eb775f Add unit tests for Feed to FINDA state machine
+ improve infrastructure
2021-06-18 06:47:01 +02:00
D.R.racer e7ef601ccd Basic unit test structure for the logic layer
It compiles the Cut Filament unit test with all the necessary components.
Still, the unit test does nothing.
2021-06-18 06:47:01 +02:00
D.R.racer 7eb346a54d Add first unit test
+proof of concept of Catch2 builds working in our repo
2021-05-13 17:35:08 +02:00