Lines Matching refs:compare_total_mag
155 'comparetotmag':'compare_total_mag',
1614 self.assertEqual(Decimal(4).compare_total_mag(3),
1615 Decimal(4).compare_total_mag(Decimal(3)))
1812 d = c.compare_total_mag(Decimal(1), Decimal(1))
1813 self.assertEqual(c.compare_total_mag(1, 1), d)
1814 self.assertEqual(c.compare_total_mag(Decimal(1), 1), d)
1815 self.assertEqual(c.compare_total_mag(1, Decimal(1)), d)
1816 self.assertRaises(TypeError, c.compare_total_mag, '1', 1)
1817 self.assertRaises(TypeError, c.compare_total_mag, 1, '1')