Beat Küng
9472b4b1f7
refactor: remove '#define MODULE_NAME' from tests
...
And use target_compile_definitions() instead
2025-07-11 10:39:28 +02:00
Matthias Grob
daa491dc19
rc_update: make payload power switch an optional 3-way switch
...
to support 3 different power states for the payload.
2025-06-30 16:50:28 +02:00
Matthias Grob
1bccd5557a
rc_update: add unit tests for two way payload power switch
...
with the intention to extend it to an optional 3 way switch.
2025-06-30 16:50:28 +02:00
Matthias Grob
618724b409
Functional gtests: remove unnecessary subscription updates
...
A new subscription is updated on instanciation and no additional
update needs to be called for processing the first sample.
2023-07-13 12:00:35 +02:00
Matthias Grob
2dcb525cd9
RCUpdateTest: RC switch correct corner case test value
...
Co-authored-by: Junwoo Hwang <junwoo091400@gmail.com>
2023-07-11 15:58:48 +02:00
Matthias Grob
42fa41e601
rc_update: fix on-off-switch with negative threshold values
2023-07-11 15:58:48 +02:00
Matthias Grob
1fa5136e30
RCUpdateTest: add unit test for return switch
2023-07-11 15:58:48 +02:00
Matthias Grob
392d445783
RCUpdateTest: fix unit test parameters + restoring state after test
...
Channel values stay over one unit test but some tests assumed they are
reset each time. Reset the channel after these mode button tests.
Parameters survive between unit tests presumably as long as
the bianry runs. Reset them if a test requires that.
2023-07-11 15:58:48 +02:00
Matthias Grob
87c697a0d6
rc_update: switch back to protected scope and use fixture for testing
2023-07-11 15:58:48 +02:00
Matthias Grob
4bd2d4cf35
rc_update: add unit tests for mode slot
...
To verify RC mode switch and mode button functionality works as expected.
2022-05-16 14:37:29 +02:00