code: def test_scraamp_plus_plus_A_B_join_full_swap(T_A, T_B):
      m = 3
      zone = int(np.ceil(m / 4))
  
      ref_mp = naive.aamp(T_B, m, T_B=T_A)
      ref_P = ref_mp[:, 0]
      ref_I = ref_mp[:, 1]
      ref_left_I = ref_mp[:, 2]
      ref_right_I = ref_mp[:, 3]
  
      approx = scraamp(
          T_B,
          m,
          T_B=T_A,
          ignore_trivial=False,
          percentage=1.0,
          pre_scraamp=True,
          s=zone,
      )
      approx.update()
      comp_P = approx.P_
      comp_I = approx.I_
      comp_left_I = approx.left_I_
      comp_right_I = approx.right_I_
  
      naive.replace_inf(ref_P)
      naive.replace_inf(comp_P)
  
      npt.assert_almost_equal(ref_P, comp_P)
      npt.assert_almost_equal(ref_I, comp_I)
      npt.assert_almost_equal(ref_left_I, comp_left_I)
      npt.assert_almost_equal(ref_right_I, comp_right_I)
  
imports: import naive
  import numpy
  import numpy.testing
  import pytest
  from stumpy import aamp, config, scraamp
  from stumpy.scraamp import prescraamp
label_desc: Use image node_id 18 for calling a global function with example usage: test_scraamp_plus_plus_A_B_join_full_swap(T_A, T_B) without return types