(self)
| 568 | check(approx_equal(a, b, tol=tol, rel=rel)) |
| 569 | |
| 570 | def test_approx_equal_both1(self): |
| 571 | # Test actual error <= both absolute and relative error. |
| 572 | self.do_check_both(7.955, 7.952, 0.004, 3.8e-4, True, True) |
| 573 | self.do_check_both(-7.387, -7.386, 0.002, 0.0002, True, True) |
| 574 | |
| 575 | def test_approx_equal_both2(self): |
| 576 | # Test actual error <= absolute error but > relative error. |
nothing calls this directly
no test coverage detected