Searched refs:num_rounded_up (Results 1 – 1 of 1) sorted by relevance
267 unsigned int num_rounded_up = 0, total = 0; in test_percent_to_max_rounding() local275 num_rounded_up++; in test_percent_to_max_rounding()292 DIV_ROUND_CLOSEST(num_rounded_up * 100, total), in test_percent_to_max_rounding()293 num_rounded_up, total); in test_percent_to_max_rounding()295 KUNIT_EXPECT_GE(test, 4 * num_rounded_up, 1 * total); in test_percent_to_max_rounding()296 KUNIT_EXPECT_LE(test, 4 * num_rounded_up, 3 * total); in test_percent_to_max_rounding()