Home
last modified time | relevance | path

Searched refs:function_to_test (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/openscreen/util/
H A Dinteger_division_unittest.cc23 Output (*function_to_test)(Input, Input)) { in TestRangeAboutZero()
27 EXPECT_EQ(expected_result, function_to_test(Input(num), Input(denom))) in TestRangeAboutZero()
29 EXPECT_EQ(expected_result, function_to_test(Input(-num), Input(-denom))) in TestRangeAboutZero()
41 auto* const function_to_test = &DivideRoundingUp<int>; in TEST() local
43 TestRangeAboutZero(denom, denom == 3 ? 11 : 15, -3, function_to_test); in TEST()
48 auto* const function_to_test = &DivideRoundingUp<std::chrono::milliseconds>; in TEST() local
50 TestRangeAboutZero(denom, denom == 3 ? 11 : 15, -3, function_to_test); in TEST()
65 auto* const function_to_test = &DivideRoundingNearest<int>; in TEST() local
67 TestRangeAboutZero(denom, denom == 3 ? 10 : 14, -3, function_to_test); in TEST()
72 auto* const function_to_test = in TEST() local
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/libm/
Dbuild.rs85 while let Some(function_to_test) = functions.next() { in generate()
86 math.push(parse(function_to_test)); in generate()