code: def test_tr():
      """test TA.TR"""
  
      tr = TA.TR(ohlc)
      talib_tr = talib.TRANGE(ohlc["high"], ohlc["low"], ohlc["close"])
  
      assert round(talib_tr[-1], 5) == round(tr.values[-1], 5)
  
imports: import pytest
  import os
  import pandas
  from finta import TA
  import talib
label_desc: Use image node_id 10 for calling a global function with example usage: test_tr() without return types