code: def testClusterAllocationByCore(self):
      RockTestTemplates.templateLengthProcessData(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, 2, 0.5, [5, 5], True
      )
      RockTestTemplates.templateLengthProcessData(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 5, 1, 0.5, [10], True
      )
      RockTestTemplates.templateLengthProcessData(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 1, 3, 0.5, [10, 5, 8], True
      )
      RockTestTemplates.templateLengthProcessData(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 5, 1, 0.5, [23], True
      )
      RockTestTemplates.templateLengthProcessData(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE3,
          1,
          4,
          0.5,
          [10, 10, 10, 30],
          True,
      )
      RockTestTemplates.templateLengthProcessData(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE3,
          1.7,
          4,
          0.5,
          [10, 10, 10, 30],
          True,
      )
      RockTestTemplates.templateLengthProcessData(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE4,
          1,
          5,
          0.5,
          [15, 15, 15, 15, 15],
          True,
      )
      RockTestTemplates.templateLengthProcessData(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE4,
          1.5,
          5,
          0.5,
          [15, 15, 15, 15, 15],
          True,
      )
      RockTestTemplates.templateLengthProcessData(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE5,
          1,
          4,
          0.5,
          [15, 15, 15, 15],
          True,
      )
  
file_path: pyclustering/pyclustering/cluster/tests/integration/it_rock.py
imports: import unittest
  import matplotlib
  from pyclustering.cluster.tests.rock_templates import RockTestTemplates
  from pyclustering.cluster.rock import rock
  from pyclustering.samples.definitions import SIMPLE_SAMPLES
  from pyclustering.core.tests import remove_library
label_desc: Use image node_id 1 for calling the RockIntegrationTest obj's underlying member method code with example usage: obj.testClusterAllocationByCore() without return types