Skip to content

Commit

Permalink
Update infrared_test.c reference (#3983)
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Ferdman <[email protected]>
Co-authored-by: あく <[email protected]>
  • Loading branch information
emmanuel-ferdman and skotopes authored Dec 18, 2024
1 parent 8d078e4 commit 8c4922a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/UnitTests.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ To add unit tests for your protocol, follow these steps:

1. Create a file named `test_<your_protocol_name>.irtest` in the [assets](https://github.com/flipperdevices/flipperzero-firmware/tree/dev/applications/debug/unit_tests/resources/unit_tests/infrared) directory.
2. Fill it with the test data (more on it below).
3. Add the test code to [infrared_test.c](https://github.com/flipperdevices/flipperzero-firmware/blob/dev/applications/debug/unit_tests/infrared/infrared_test.c).
3. Add the test code to [infrared_test.c](https://github.com/flipperdevices/flipperzero-firmware/blob/dev/applications/debug/unit_tests/tests/infrared/infrared_test.c).
4. Build and install firmware with resources, install it on your Flipper and run the tests to see if they pass.

##### Test data format
Expand Down

0 comments on commit 8c4922a

Please sign in to comment.