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