Searched defs:assertAlmostEqual (Results 1 - 4 of 4) sorted by relevance

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_complex.py13 def assertAlmostEqual(self, a, b): member in class:ComplexTest
16 unittest.TestCase.assertAlmostEqual(self, a.real, b.real)
17 unittest.TestCase.assertAlmostEqual(self, a.imag, b.imag)
19 unittest.TestCase.assertAlmostEqual(self, a.real, b)
20 unittest.TestCase.assertAlmostEqual(self, a.imag, 0.)
23 unittest.TestCase.assertAlmostEqual(self, a, b.real)
24 unittest.TestCase.assertAlmostEqual(self, 0., b.imag)
26 unittest.TestCase.assertAlmostEqual(self, a, b)
108 self.assertAlmostEqual(complex.__truediv__(2+0j, 1+1j), 1-1j)
112 self.assertAlmostEqual(comple
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_complex.py13 def assertAlmostEqual(self, a, b): member in class:ComplexTest
16 unittest.TestCase.assertAlmostEqual(self, a.real, b.real)
17 unittest.TestCase.assertAlmostEqual(self, a.imag, b.imag)
19 unittest.TestCase.assertAlmostEqual(self, a.real, b)
20 unittest.TestCase.assertAlmostEqual(self, a.imag, 0.)
23 unittest.TestCase.assertAlmostEqual(self, a, b.real)
24 unittest.TestCase.assertAlmostEqual(self, 0., b.imag)
26 unittest.TestCase.assertAlmostEqual(self, a, b)
108 self.assertAlmostEqual(complex.__truediv__(2+0j, 1+1j), 1-1j)
112 self.assertAlmostEqual(comple
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/
H A Dcase.py527 def assertAlmostEqual(self, first, second, places=None, msg=None, delta=None): member in class:TestCase
603 assertAlmostEquals = assertAlmostEqual
619 failUnlessAlmostEqual = _deprecate(assertAlmostEqual)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/
H A Dcase.py527 def assertAlmostEqual(self, first, second, places=None, msg=None, delta=None): member in class:TestCase
603 assertAlmostEquals = assertAlmostEqual
619 failUnlessAlmostEqual = _deprecate(assertAlmostEqual)

Completed in 97 milliseconds