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. |
||
|---|---|---|
| .. | ||
| hal | ||
| logic | ||
| modules | ||
| CMakeLists.txt | ||
| system_test.cpp | ||
| test_main.cpp | ||