Beispiel #1
-1
 def test_convert_same(self):
   converter = CurrencyConverter()
   self.assertEqual(5.25*1.00, converter.convert(5.25, 'USD', 'USD'))
Beispiel #2
-1
 def test_convert_different(self):
   converter = CurrencyConverter()
   self.assertEqual(5.25*1.32, converter.convert(5.25, 'USD', 'CAD'))