jobid generate
This commit is contained in:
parent
9ff857db9f
commit
f3f6a78b07
7 changed files with 187 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue