Exemplo n.º 1
0
 def testQuickBrown(self):
     self.assertEqual([3, 5, 5, 3, 5, 4, 3, 4, 3], strlen_list(["The", "quick", "brown", "fox", "jumps", "over", "the", "lazy", "dog"]))
Exemplo n.º 2
0
 def testEmpty(self):
     self.assertEqual([], strlen_list([]))
Exemplo n.º 3
0
 def testTwo(self):
     self.assertEqual([2, 5], strlen_list(["Hi", "there"]))