code: def test_same():
      y = [1, 2, 3]
      trans = BoxCoxEndogTransformer(lmbda=0)
      log_trans = LogEndogTransformer()
      y_t, _ = trans.fit_transform(y)
      log_y_t, _ = log_trans.fit_transform(y)
      assert_array_almost_equal(log_y_t, y_t)
  
imports: from numpy.testing import assert_array_almost_equal
  from sklearn.base import clone
  from pmdarima.preprocessing import LogEndogTransformer
  from pmdarima.preprocessing import BoxCoxEndogTransformer
label_desc: Use image node_id 1 for calling a global function with example usage: test_same() without return types