def test_computed(self): argued = 2.0 expected = 1.6924 self.assertTrue(abs(b.tc_width(argued) - expected) <= 0.001)
def test_zero(self): self.assertEqual(b.tc_width(0), 0)