code: def test_insert_duplicate():
      # Insert duplicate point
      point = (1.0, 1.0, 1.0)
      leaf = duplicate_tree.insert_point(point, index=100)
      assert leaf.n == 11
      for i in range(90, 100):
          try:
              assert duplicate_tree.leaves[i].n == 11
          except:
              print(i)
              print(duplicate_tree.leaves[i].n)
              raise
  
file_path: rrcf/test/test_rrcf.py
imports: import json
  import numpy
  import rrcf
label_desc: Use image node_id 8 for calling a global function with example usage: test_insert_duplicate() without return types