Searched refs:compare_total_mag (Results 1 - 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
H A D | test_decimal.py | 156 'comparetotmag':'compare_total_mag', 1636 self.assertEqual(Decimal(4).compare_total_mag(3), 1637 Decimal(4).compare_total_mag(Decimal(3))) 1836 d = c.compare_total_mag(Decimal(1), Decimal(1)) 1837 self.assertEqual(c.compare_total_mag(1, 1), d) 1838 self.assertEqual(c.compare_total_mag(Decimal(1), 1), d) 1839 self.assertEqual(c.compare_total_mag(1, Decimal(1)), d) 1840 self.assertRaises(TypeError, c.compare_total_mag, '1', 1) 1841 self.assertRaises(TypeError, c.compare_total_mag, 1, '1')
|
/external/python/cpython3/Lib/test/ |
H A D | test_decimal.py | 205 'comparetotmag':'compare_total_mag', 2399 self.assertEqual(Decimal(4).compare_total_mag(3), 2400 Decimal(4).compare_total_mag(Decimal(3))) 2981 d = c.compare_total_mag(Decimal(1), Decimal(1)) 2982 self.assertEqual(c.compare_total_mag(1, 1), d) 2983 self.assertEqual(c.compare_total_mag(Decimal(1), 1), d) 2984 self.assertEqual(c.compare_total_mag(1, Decimal(1)), d) 2985 self.assertRaises(TypeError, c.compare_total_mag, '1', 1) 2986 self.assertRaises(TypeError, c.compare_total_mag, 1, '1')
|
/external/python/cpython2/Lib/ |
H A D | decimal.py | 2902 def compare_total_mag(self, other): member in class:Decimal 4113 def compare_total_mag(self, a, b): member in class:Context 4119 return a.compare_total_mag(b)
|
/external/python/cpython3/Lib/ |
H A D | _pydecimal.py | 3045 def compare_total_mag(self, other, context=None): member in class:Decimal 4324 def compare_total_mag(self, a, b): member in class:Context 4330 return a.compare_total_mag(b)
|
Completed in 147 milliseconds