Home
last modified time | relevance | path

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

/third_party/benchmark/tools/gbench/
Dreport.py1113 def assert_utest(unittest_instance, lhs, rhs): argument
1115 unittest_instance.assertAlmostEqual(
1118 unittest_instance.assertAlmostEqual(
1121 unittest_instance.assertEqual(
1126 unittest_instance.assertEqual(lhs['utest'], rhs['utest'])
1129 def assert_measurements(unittest_instance, lhs, rhs): argument
1131 unittest_instance.assertEqual(m1['real_time'], m2['real_time'])
1132 unittest_instance.assertEqual(m1['cpu_time'], m2['cpu_time'])
1135 unittest_instance.assertAlmostEqual(m1['time'], m2['time'], places=4)
1136 unittest_instance.assertAlmostEqual(m1['cpu'], m2['cpu'], places=4)