Lines Matching refs:assertAlmostEqual
8 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)
26 self.assertAlmostEqual(float('inf'), float('inf'))
31 self.assertAlmostEqual(1.1, 1.0, delta=0.5)
32 self.assertAlmostEqual(1.0, 1.1, delta=0.5)
36 self.assertAlmostEqual(1.0, 1.0, delta=0.5)
40 self.assertRaises(self.failureException, self.assertAlmostEqual,
45 self.assertRaises(TypeError, self.assertAlmostEqual,
52 self.assertAlmostEqual(first, second,