code: def test_index_with_empty_storage():
      pool = Pool.from_file(FLOATS_0, EVectorComponentType.Float, 1)
      hnsw = Hnsw()
      hnsw.build(pool, EDistance.DotProduct)
      assert len(hnsw.get_nearest([0], 10, 10)) == 0
  
imports: from __future__ import print_function
  import pytest
  import os
  import numpy
  import yatest.common
  import struct
  from hnsw import EVectorComponentType, EDistance, Pool, Hnsw, HnswException, transform_mobius, HnswEstimator, OnlineHnsw
label_desc: Use image node_id 5 for calling a global function with example usage: test_index_with_empty_storage() without return types