code: def test_add_points(self):
      self.assertEqual(
          0,
          nmslib.addDataPoint(
              self.index, 1000, [[0, 0.5], [5, 0.3], [6, 0.4]]
          ),
      )
      self.assertEqual(
          1,
          nmslib.addDataPoint(
              self.index, 1001, [[0, 0.5], [3, 0.3], [5, 0.4]]
          ),
      )
  
imports: import unittest
  import numpy.testing
  import os
  import numpy
  import nmslib
label_desc: Use image node_id 2 for calling the SparseTests obj's underlying member method code with example usage: obj.test_add_points() without return types