code: def testClusteringByCore(self):
      DbscanTestTemplates.templateClusteringResults(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 0.4, 2, [5, 5], True
      )
      DbscanTestTemplates.templateClusteringResults(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 10, 2, [10], True
      )
      DbscanTestTemplates.templateClusteringResults(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 1, 2, [5, 8, 10], True
      )
      DbscanTestTemplates.templateClusteringResults(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE2, 5, 2, [23], True
      )
      DbscanTestTemplates.templateClusteringResults(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE3, 0.7, 3, [10, 10, 10, 30], True
      )
      DbscanTestTemplates.templateClusteringResults(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE3, 5, 3, [60], True
      )
      DbscanTestTemplates.templateClusteringResults(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE4,
          0.7,
          3,
          [15, 15, 15, 15, 15],
          True,
      )
      DbscanTestTemplates.templateClusteringResults(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE4, 2, 3, [75], True
      )
      DbscanTestTemplates.templateClusteringResults(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE5, 0.7, 3, [15, 15, 15, 15], True
      )
      DbscanTestTemplates.templateClusteringResults(
          SIMPLE_SAMPLES.SAMPLE_SIMPLE5, 10, 3, [60], True
      )
      DbscanTestTemplates.templateClusteringResults(
          FCPS_SAMPLES.SAMPLE_HEPTA,
          1,
          3,
          [30, 30, 30, 30, 30, 30, 32],
          True,
      )
      DbscanTestTemplates.templateClusteringResults(
          FCPS_SAMPLES.SAMPLE_HEPTA, 5, 3, [212], True
      )
  
imports: import unittest
  import matplotlib
  from pyclustering.cluster.tests.dbscan_templates import DbscanTestTemplates
  from pyclustering.cluster.dbscan import dbscan
  from pyclustering.samples.definitions import SIMPLE_SAMPLES, SIMPLE_ANSWERS
  from pyclustering.samples.definitions import FCPS_SAMPLES
  from pyclustering.core.tests import remove_library
label_desc: Use image node_id 1 for calling the DbscanIntegrationTest obj's underlying member method code with example usage: obj.testClusteringByCore() without return types