code: def test_scrimp_plus_plus():
      ts = np.array([0, 0, 1, 0, 0, 0, 1, 0])
      m = 4
      step_size = 0.25
      mp, mpidx = scrimp.scrimp_plus_plus(ts, m, step_size)
  
      expected_mpidx = np.array(
          [
              4,
              3,
              0,
              0,
              0,
          ]
      )
  
      np.testing.assert_almost_equal(mpidx, expected_mpidx)
  
      ts = np.loadtxt(
          os.path.join(MODULE_PATH, "..", "tests", "sampledata.txt")
      )
      m = 32
      step_size = 0.25
      mp, mpidx = scrimp.scrimp_plus_plus(ts, m, step_size)
      expected_mp = np.loadtxt(
          os.path.join(MODULE_PATH, "..", "tests", "mp.txt")
      )
  
      np.testing.assert_almost_equal(mp, expected_mp, decimal=4)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import os
  import pytest
  import numpy
  import matrixprofile
  from matrixprofile import scrimp
label_desc: Use image node_id 30 for calling a global function with example usage: test_scrimp_plus_plus() without return types