code: def assert_dimension(self, data, expected_dimension):
      for point in data:
          assertion.eq(expected_dimension, len(point))
  
file_path: pyclustering/pyclustering/cluster/tests/unit/ut_generator.py
imports: import unittest
  import matplotlib
  from pyclustering.cluster.generator import data_generator
  from pyclustering.tests.assertion import assertion
label_desc: Use image node_id 1 for calling the generator_unit_tests obj's underlying member method code with example usage: obj.assert_dimension(data, expected_dimension) without return types