code: def check_nns(i):
      assert i.get_nns_by_vector([4, 4], 3) == [2, 1, 0]
      assert i.get_nns_by_vector([1, 1], 3) == [0, 1, 2]
      assert i.get_nns_by_vector([4, 2], 3) == [1, 2, 0]
  
imports: import os
  import pytest
  from annoy import AnnoyIndex
label_desc: Use image node_id 3 for calling a global function with example usage: check_nns(i) without return types