From 1fb1d1724f120b17240b611ca75d500c05989cf5 Mon Sep 17 00:00:00 2001 From: r3df0xx Date: Thu, 26 May 2022 22:31:44 +0300 Subject: [PATCH] Update subghz_test.c --- applications/unit_tests/subghz/subghz_test.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/applications/unit_tests/subghz/subghz_test.c b/applications/unit_tests/subghz/subghz_test.c index 879deae82..4cdbe379e 100644 --- a/applications/unit_tests/subghz/subghz_test.c +++ b/applications/unit_tests/subghz/subghz_test.c @@ -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();