def test_count_chars(self):
   inp = "bobbelderbos"
   self.assertEqual(count_chars(inp), "%s has %d characters" % (inp, 12))
 def test_empty(self):
   self.assertEqual(count_chars(""), "enter something please")
예제 #3
0
def test(name):

    cl.count_lines(name)
    cc.count_chars(name)