Update subghz_test.c

This commit is contained in:
r3df0xx 2022-05-26 22:31:44 +03:00
parent e4e2efda74
commit 1fb1d1724f

View file

@ -416,6 +416,12 @@ MU_TEST(subghz_encoder_holtek_test) {
"Test encoder " SUBGHZ_PROTOCOL_HOLTEK_NAME " error\r\n");
}
+MU_TEST(subghz_encoder_secplus_v2_test) {
mu_assert(
subghz_encoder_test("/ext/unit_tests/subghz/security_pls_2_0.sub"),
"Test encoder " SUBGHZ_PROTOCOL_SECPLUS_V2_NAME " error\r\n");
}
MU_TEST(subghz_random_test) {
mu_assert(subghz_decode_random_test(TEST_RANDOM_DIR_NAME), "Random test error\r\n");
}
@ -457,6 +463,7 @@ MU_TEST_SUITE(subghz) {
MU_RUN_TEST(subghz_encoder_firefly_test);
MU_RUN_TEST(subghz_encoder_megacode_test);
MU_RUN_TEST(subghz_encoder_holtek_test);
MU_RUN_TEST(subghz_encoder_secplus_v2_test);
MU_RUN_TEST(subghz_random_test);
subghz_test_deinit();