code: def test_tal_ma(self):
      self.assertEqual(self.utils.tal_ma("sma"), 0)
      self.assertEqual(self.utils.tal_ma("Sma"), 0)
      self.assertEqual(self.utils.tal_ma("ema"), 1)
      self.assertEqual(self.utils.tal_ma("wma"), 2)
      self.assertEqual(self.utils.tal_ma("dema"), 3)
      self.assertEqual(self.utils.tal_ma("tema"), 4)
      self.assertEqual(self.utils.tal_ma("trima"), 5)
      self.assertEqual(self.utils.tal_ma("kama"), 6)
      self.assertEqual(self.utils.tal_ma("mama"), 7)
      self.assertEqual(self.utils.tal_ma("t3"), 8)
  
imports: from .config import sample_data
  from .context import pandas_ta
  from unittest import skip, TestCase
  from unittest.mock import patch
  import numpy
  import numpy.testing
  from pandas import DataFrame, Series
  from pandas.api.types import is_datetime64_ns_dtype, is_datetime64tz_dtype
label_desc: Use image node_id 26 for calling the TestUtilities obj's underlying member method code with example usage: obj.test_tal_ma() without return types