Esempio 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"]))
Esempio n. 2
0
 def testEmpty(self):
     self.assertEqual([], strlen_list([]))
Esempio n. 3
0
 def testTwo(self):
     self.assertEqual([2, 5], strlen_list(["Hi", "there"]))