tr4mpass/tests/test_constants.c
Apocrypha12 e494b484ca test: update reconnect delay expectation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-08-01 17:11:03 -08:00

24 lines
454 B
C

/*
* test_constants.c -- Compile-time retry / delay constants.
*/
#include "test_framework.h"
#include "exploit/checkm8_internal.h"
static void test_retry_constant(void)
{
ASSERT_EQ(MAX_EXPLOIT_TRIES, 3);
}
static void test_reconnect_delay(void)
{
ASSERT_EQ(USB_RECONNECT_DELAY_USEC, 8000000);
}
void run_constant_tests(void)
{
printf("--- Section 4: Exploit constants ---\n");
test_retry_constant();
test_reconnect_delay();
}