code: def test_include_dists_check_ranges():
      f = 3
      i = AnnoyIndex(f, "angular")
      for j in range(100000):
          i.add_item(j, numpy.random.normal(size=f))
      i.build(10)
      indices, dists = i.get_nns_by_item(
          0, 100000, include_distances=True
      )
      assert max(dists) <= 2.0
      assert min(dists) == pytest.approx(0.0)
  
imports: import random
  import numpy
  import pytest
  from annoy import AnnoyIndex
label_desc: Use image node_id 16 for calling a global function with example usage: test_include_dists_check_ranges() without return types