Lines Matching refs:rel_tol
287 self.assertIsClose(1, 1, rel_tol=-1e-100)
289 self.assertIsClose(1, 1, rel_tol=1e-100, abs_tol=-1e10)
300 self.assertAllClose(identical_examples, rel_tol=0.0, abs_tol=0.0)
308 self.assertAllClose(eight_decimal_places_examples, rel_tol=1e-8)
309 self.assertAllNotClose(eight_decimal_places_examples, rel_tol=1e-9)
318 self.assertAllNotClose(near_zero_examples, rel_tol=0.9)
351 self.assertAllClose(zero_tolerance_close_examples, rel_tol=0.0)
357 self.assertAllNotClose(zero_tolerance_not_close_examples, rel_tol=0.0)
361 self.assertAllClose([(9, 10), (10, 9)], rel_tol=0.1)
369 self.assertAllClose(integer_examples, rel_tol=1e-8)
370 self.assertAllNotClose(integer_examples, rel_tol=1e-9)
380 self.assertAllClose(decimal_examples, rel_tol=1e-8)
381 self.assertAllNotClose(decimal_examples, rel_tol=1e-9)
389 self.assertAllClose(fraction_examples, rel_tol=1e-8)
390 self.assertAllNotClose(fraction_examples, rel_tol=1e-9)