コード例 #1
0
ファイル: test_company.py プロジェクト: spendright/msd
 def test_all_lowercase(self):
     self.assertEqual(
         pick_company_full(['Illy', 'illy']),
         'Illy')
コード例 #2
0
ファイル: test_company.py プロジェクト: spendright/msd
 def test_longest(self):
     self.assertEqual(
         pick_company_full(['The Coca-Cola Company', 'Coca-Cola']),
         'The Coca-Cola Company')
コード例 #3
0
ファイル: test_company.py プロジェクト: spendright/msd
 def test_all_caps(self):
     self.assertEqual(
         pick_company_full(['ASUS', 'Asus']),
         'ASUS')
コード例 #4
0
ファイル: test_company.py プロジェクト: spendright/msd
 def test_one(self):
     self.assertEqual(pick_company_full(['Singularity']), 'Singularity')