Prusa-Firmware-MMU/tests/unit/modules
Yuri D'Elia b7fcfa5cb5 Add tests for single and multi-axis AbortPlannedMoves()
This introduces a new #define UNITTEST_MOTION which is used to control
the testing scenario:

- Normal tests, we allow the stub to override the built-in definition.
- For motion tests, we stub the lower-level classes and test the
  effective implementation

We also repeat the prototype of the function, which IMHO is more
readable and more flexible: we need to use inline for the real
definition, which would require even more macros otherwise.
2021-09-07 15:09:49 +02:00
..
buttons Introduce short namespace aliases 2021-08-04 11:03:56 +02:00
leds Fix tests 2021-08-23 08:18:47 +02:00
motion Add tests for single and multi-axis AbortPlannedMoves() 2021-09-07 15:09:49 +02:00
protocol Add K1, 2, 3, 4 into unit tests 2021-08-12 10:55:27 +02:00
pulse_gen Introduce config::MRes and fix (real) axis units 2021-08-25 09:16:56 +02:00
speed_table tests: remove relative cmake paths in pulse_gen/speed_table 2021-07-12 11:11:49 +02:00
stubs Use relative paths for panic.h 2021-09-02 12:00:59 +02:00
CMakeLists.txt Motion: add initial test infrastructure and stubs 2021-07-13 16:16:56 +02:00