code: def test_generate_one_dimension(self):
      data = data_generator(2, 1, [10, 10]).generate()
      assertion.eq(20, len(data))
      self.assert_dimension(data, 1)
  
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 3 for calling the generator_unit_tests obj's underlying member method code with example usage: obj.test_generate_one_dimension() without return types