def test_get_currency_symbol(self): self.assertEqual(get_currency_symbol("GBP"), "£") self.assertEqual(get_currency_symbol("EUR"), "€") self.assertEqual(get_currency_symbol("USD"), "US$") self.assertEqual(get_currency_symbol("JPY"), "JP¥") self.assertEqual(get_currency_symbol(""), "")
def test_get_currency_symbol(self): self.assertEqual(get_currency_symbol('GBP'), '£') self.assertEqual(get_currency_symbol('EUR'), '€') self.assertEqual(get_currency_symbol('USD'), 'US$') self.assertEqual(get_currency_symbol('JPY'), 'JP¥') self.assertEqual(get_currency_symbol(''), '')