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)
示例#2
0
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
示例#4
0
 def setUp(self):
     self.obj = TrailingZero()
     pass