code: def test_next_subsequence():
      ts = [1, 2, 3, 4, 5, 6, 7, 8]
      m = 4
      idx = 0
  
      expected_subsequence = [1, 2, 3, 4]
      assert scrimp.next_subsequence(ts, idx, m) == expected_subsequence
  
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 14 for calling a global function with example usage: test_next_subsequence() without return types