code: def test_sma():
      """test TA.SMA"""
  
      ma = TA.SMA(ohlc, 14)
      talib_ma = talib.SMA(ohlc["close"], timeperiod=14)
  
      assert round(talib_ma[-1], 5) == round(ma.values[-1], 5)
  
imports: import pytest
  import os
  import pandas
  from finta import TA
  import talib
label_desc: Use image node_id 2 for calling a global function with example usage: test_sma() without return types