Exemplo n.º 1
0
 def test_all_lowercase(self):
     self.assertEqual(
         pick_company_full(['Illy', 'illy']),
         'Illy')
Exemplo n.º 2
0
 def test_longest(self):
     self.assertEqual(
         pick_company_full(['The Coca-Cola Company', 'Coca-Cola']),
         'The Coca-Cola Company')
Exemplo n.º 3
0
 def test_all_caps(self):
     self.assertEqual(
         pick_company_full(['ASUS', 'Asus']),
         'ASUS')
Exemplo n.º 4
0
 def test_one(self):
     self.assertEqual(pick_company_full(['Singularity']), 'Singularity')