class MyTestCase(unittest.TestCase): def setUp(self): self.obj = TrailingZero() pass def tearDown(self): del self.obj pass def test_trailing_zeros(self): self.assertEqual(self.obj.trailing_zeros(100), 24)
def setUp(self): self.obj = TrailingZero() pass