Prusa-Firmware-MMU/tests/unit
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
..
hal Disable preprocessor code indentation 2021-07-07 16:33:03 +02:00
logic Fix unit tests for AbortPlannedMoves(axis) 2021-09-07 15:03:36 +02:00
modules Add tests for single and multi-axis AbortPlannedMoves() 2021-09-07 15:09:49 +02:00
CMakeLists.txt Make motion::QueueEmpty inline for non-UNITTEST builds 2021-09-02 08:35:56 +02:00
system_test.cpp Remove invalid/useless test sizeof(ptr) == 4 2021-06-29 08:59:36 +02:00
test_main.cpp Add first unit test 2021-05-13 17:35:08 +02:00