code: def testIndexListToLabelsMissedPoint(self):
      clusters = [[0, 1, 2, 3], [4, 5, 6]]  # the last point is missed
      data = [
          [5.1, 5.2],
          [5.2, 5.1],
          [5.4, 5.2],
          [5.1, 5.0],
          [8.1, 8.0],
          [8.4, 8.2],
          [8.3, 8.4],
          [8.5, 8.5],
      ]
  
      encoder = cluster_encoder(
          type_encoding.CLUSTER_INDEX_LIST_SEPARATION, clusters, data
      )
      encoder.set_encoding(type_encoding.CLUSTER_INDEX_LABELING)
  
      expected = [0, 0, 0, 0, 1, 1, 1, float("NaN")]
      actual = encoder.get_clusters()
  
      self.assertEqual(len(expected), len(actual))
  
      for i in range(len(expected)):
          if math.isnan(expected[i]) is True:
              self.assertTrue(math.isnan(actual[i]))
          else:
              self.assertEqual(expected[i], actual[i])
  
imports: import unittest
  import math
  import matplotlib
  from pyclustering.cluster.encoder import cluster_encoder
  from pyclustering.cluster.encoder import type_encoding
label_desc: Use image node_id 22 for calling the Test obj's underlying member method code with example usage: obj.testIndexListToLabelsMissedPoint() without return types