Lines Matching refs:assertAlmostEqual
20 self.assertAlmostEqual(0.7999878, fixedToFloat(13107, 14))
24 self.assertAlmostEqual(0.999939, fixedToFloat(16383, 14))
25 self.assertAlmostEqual(-0.999939, fixedToFloat(-16383, 14))
28 self.assertAlmostEqual(-9.984375, fixedToFloat(-639, 6))
29 self.assertAlmostEqual(-10.0, fixedToFloat(-640, 6))
30 self.assertAlmostEqual(9.984375, fixedToFloat(639, 6))
31 self.assertAlmostEqual(10.0, fixedToFloat(640, 6))
42 self.assertAlmostEqual('-9.98', fixedToStr(-639, 6))
43 self.assertAlmostEqual('-10.0', fixedToStr(-640, 6))
44 self.assertAlmostEqual('9.98', fixedToStr(639, 6))
45 self.assertAlmostEqual('10.0', fixedToStr(640, 6))
64 self.assertAlmostEqual(0.7999878, strToFixedToFloat('0.8', 14))
68 self.assertAlmostEqual(0.999939, strToFixedToFloat('0.99994', 14))
69 self.assertAlmostEqual(-0.999939, strToFixedToFloat('-0.99994', 14))