reformat code and job array

This commit is contained in:
Rongsong Shen 2025-11-07 16:14:27 +08:00
parent a665ccd4fe
commit 9ff857db9f
64 changed files with 1497 additions and 2476 deletions

View file

@ -83,14 +83,10 @@ void test_dup_threshold()
TEST_ASSERT_TRUE(strcmp(threshold[0]->name, threshold2[0]->name) == 0);
TEST_ASSERT_TRUE(strcmp(threshold[1]->name, threshold2[1]->name) == 0);
TEST_ASSERT_TRUE(float_equal(threshold[0]->sched,
threshold2[0]->sched));
TEST_ASSERT_TRUE(float_equal(threshold[0]->stop,
threshold2[0]->stop));
TEST_ASSERT_TRUE(float_equal(threshold[1]->sched,
threshold2[1]->sched));
TEST_ASSERT_TRUE(float_equal(threshold[1]->stop,
threshold2[1]->stop));
TEST_ASSERT_TRUE(float_equal(threshold[0]->sched, threshold2[0]->sched));
TEST_ASSERT_TRUE(float_equal(threshold[0]->stop, threshold2[0]->stop));
TEST_ASSERT_TRUE(float_equal(threshold[1]->sched, threshold2[1]->sched));
TEST_ASSERT_TRUE(float_equal(threshold[1]->stop, threshold2[1]->stop));
free_resource_thresholds(threshold2, 2);
return;