Home
last modified time | relevance | path

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

/external/lldb/test/unittest2/test/
Dtest_assertions.py8 self.assertAlmostEqual(1.00000001, 1.0)
11 self.assertAlmostEqual, 1.0000001, 1.0)
15 self.assertAlmostEqual(1.1, 1.0, places=0)
17 self.assertAlmostEqual, 1.1, 1.0, places=1)
19 self.assertAlmostEqual(0, .1+.1j, places=0)
22 self.assertAlmostEqual, 0, .1+.1j, places=1)
27 self.assertAlmostEqual(float('inf'), float('inf'))
33 self.assertAlmostEqual(x, x)
39 self.assertAlmostEqual(1.1, 1.0, delta=0.5)
40 self.assertAlmostEqual(1.0, 1.1, delta=0.5)
[all …]
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py241 self.assertAlmostEqual(12.3456789, message_options.Extensions[
243 self.assertAlmostEqual(1.234567890123456789, message_options.Extensions[
257 self.assertAlmostEqual(12, message_options.Extensions[
259 self.assertAlmostEqual(154, message_options.Extensions[
265 self.assertAlmostEqual(-12, message_options.Extensions[
267 self.assertAlmostEqual(-154, message_options.Extensions[
Dmessage_test.py357 self.assertAlmostEqual(message.repeated_float[0], 1.1)
358 self.assertAlmostEqual(message.repeated_float[1], 1.2)
359 self.assertAlmostEqual(message.repeated_float[2], 1.3)
/external/lldb/test/unittest2/
Dcase.py549 def assertAlmostEqual(self, first, second, places=None, msg=None, delta=None): member in TestCase
625 assertAlmostEquals = assertAlmostEqual
641 failUnlessAlmostEqual = _deprecate(assertAlmostEqual)