code: def test_currency_cast(self):
      values = ("$2.70", "-$0.70", "€14", "50¢", "-75¢", "-$1,287")
      casted = tuple(self.type.cast(v) for v in values)
      self.assertSequenceEqual(
          casted,
          (
              Decimal("2.7"),
              Decimal("-0.7"),
              Decimal("14"),
              Decimal("50"),
              Decimal("-75"),
              Decimal("-1287"),
          ),
      )
  
imports: import datetime
  import pickle
  import unittest
  from decimal import Decimal
  import parsedatetime
  from agate.data_types import Boolean, Date, DateTime, Number, Text, TimeDelta
  from agate.exceptions import CastError
label_desc: Use image node_id 5 for calling the TestNumber obj's underlying member method code with example usage: obj.test_currency_cast() without return types