code: def testCanberraMetric(self):
      metric_instance = metric_wrapper(type_metric.CANBERRA, [], None)
      self.assertEqual(0.0, metric_instance([0.0, 0.0], [0.0, 0.0]))
      self.assertEqual(2.0, metric_instance([0.0, 0.0], [1.0, 1.0]))
      self.assertEqual(1.0, metric_instance([0.75, 0.75], [0.25, 0.25]))
      self.assertEqual(0.0, metric_instance([-1.0, -1.0], [-1.0, -1.0]))
      self.assertEqual(0.4, metric_instance([-2.0, -2.0], [-3.0, -3.0]))
  
file_path: pyclustering/pyclustering/utils/tests/integration/it_metric.py
imports: import unittest
  import matplotlib
  import numpy
  from pyclustering.core.metric_wrapper import metric_wrapper
  from pyclustering.utils.metric import type_metric, distance_metric
label_desc: Use image node_id 6 for calling the MetricUnitTest obj's underlying member method code with example usage: obj.testCanberraMetric() without return types