예제 #1
0
 def test_assert_within_tolerance(self):
     assert_within_tolerance(5, 5.1, 0.2)
예제 #2
0
 def test_assert_within_tolerance(self):
     with assert_raises(AssertionError):
         assert_within_tolerance(5, 5.1, 0.01)