def test_city_country_population(self): """Santiago와 Chile 그리고 인구가 잘 작동하는가?""" formatted_name = city_functions('santiago', 'chile', population=5000000) self.assertEqual( formatted_name, "City Name: Santiago Country Name: Chile" + " -Population: 5000000")
def test_city_country_population(self): formatted_city = city_functions('santiago', 'chile', 5000000) self.assertEqual(formatted_city, 'Santiago,Chile - population 5000000')
def test_city_country(self): formatted_city = city_functions('santiago', 'chile') self.assertEqual(formatted_city, 'Santiago,Chile')
def test_city_country(self): """测试城市-国家格式""" city_country = city_functions('santiago', 'chile') self.assertEqual(city_country, 'Santiago, Chile')
def test_city_country_population(self): """测试城市-国家-人口格式""" city_country_population = city_functions('santiago', 'chile', 5000000) self.assertEqual(city_country_population, 'Santiago, Chile - population 5000000')
def test_city_country(self): city_test = city_functions("santiago", "chile") self.assertEqual(city_test, "Santiago, Chile")
def test_city_country_population(self): city_test = city_functions("santiago", "chile", "1000000") self.assertEqual(city_test, "Santiago, Chile - Population 1000000")
def test_city_country(self): formated_name = city_functions('macapa', 'amapa') self.assertEqual(formated_name, 'Macapa,Amapa')
def test_city_province_country(self): fullName = city_functions('tianshui', 'china', 'gansu') self.assertEqual(fullName, 'Tianshui, Gansu, China')
def test_city_country(self): fullName = city_functions('tianshui', 'china') self.assertEqual(fullName, 'Tianshui, China')
def test_city_country(self): city_country = city_functions("Santiago", "Chile") self.assertEqual(city_country, "Santiago, Chile")
def test_city_population(self): city_country = city_functions("Santiago", "Chile", 5000000) self.assertEqual(city_country, "Santiago, Chile-population5000000")
def test_city_country(self): result = city_functions('santiago', 'chile') self.assertEqual(result, 'Santiago, Chile')
def test_city_country(self): formated_name = city_functions('amapa','macapa','500') self.assertEqual(formated_name,'Amapa,Macapa,Population:500')
def test_city_country(self): """Santiago와 Chile 같은 이름이 잘 작동하는가?""" formatted_name = city_functions('santiago', 'chile') self.assertEqual(formatted_name, "City Name: Santiago Country Name: Chile")