jobid generate

This commit is contained in:
Rongsong Shen 2025-11-07 18:17:34 +08:00
parent 9ff857db9f
commit f3f6a78b07
7 changed files with 187 additions and 2 deletions

View file

@ -92,10 +92,18 @@ void test_dup_threshold()
return;
}
void test_roundup(void)
{
TEST_ASSERT_TRUE(ROUNDUP(1, 3) == 8);
TEST_ASSERT_TRUE(ROUNDUP(9, 4) == 16);
TEST_ASSERT_TRUE(ROUNDUP(31, 5) == 32);
}
void test_utils(void)
{
printf("\n>> utils test\n\n");
RUN_TEST(test_timewindow_config_dup);
RUN_TEST(test_dup_threshold);
RUN_TEST(test_roundup);
}