code: def templatePackUnpack(self, dataset, c_type_data=None):
      package_pointer = package_builder(dataset, c_type_data).create()
      unpacked_package = package_extractor(package_pointer).extract()
  
      packing_data = dataset
      if isinstance(packing_data, numpy.ndarray):
          packing_data = dataset.tolist()
  
      if isinstance(packing_data, str):
          self.assertEqual(dataset, unpacked_package)
      else:
          self.assertTrue(
              self.compare_containers(packing_data, unpacked_package)
          )
  
imports: import unittest
  import numpy
  from pyclustering.core.pyclustering_package import package_builder, package_extractor
  from ctypes import c_ulong, c_size_t, c_double, c_uint, c_float, c_char_p
label_desc: Use image node_id 1 for calling the Test obj's underlying member method code with example usage: obj.templatePackUnpack(dataset, c_type_data) without return types