Searched refs:RelativeChange (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/tools/auto_bisect/ |
D | math_utils_test.py | 42 self.assertEqual(0.5, math_utils.RelativeChange(1.0, 1.5)) 43 self.assertEqual(0.5, math_utils.RelativeChange(2.0, 1.0)) 48 self.assertEqual(0, math_utils.RelativeChange(0, 0)) 50 math.isnan(math_utils.RelativeChange(0, 1))) 52 math.isnan(math_utils.RelativeChange(0, -1))) 56 self.assertEqual(3.0, math_utils.RelativeChange(-1, 2)) 57 self.assertEqual(3.0, math_utils.RelativeChange(1, -2)) 58 self.assertEqual(1.0, math_utils.RelativeChange(-1, -2))
|
D | math_utils.py | 76 def RelativeChange(before, after): function
|
D | bisect_results.py | 185 regression_size = 100 * math_utils.RelativeChange(mean_of_good_runs,
|