def test_more_caps(self): self.assertEqual( pick_brand_name(['Blackberry', 'BlackBerry']), 'BlackBerry')
def test_company_name_match(self): # tests #40 self.assertEqual( pick_brand_name(['Asus', 'ASUS'], company_names={'ASUS'}), 'ASUS')
def test_iphone(self): self.assertEqual(pick_brand_name(['IPhone', 'iPhone']), 'iPhone')
def test_all_caps(self): self.assertEqual(pick_brand_name(['Asus', 'ASUS']), 'Asus')
def test_one(self): self.assertEqual(pick_brand_name(['Apple']), 'Apple')