code: def test_find_edges():
      g = dgl.graph([])
      g.add_nodes(10)
      g.add_edges(range(9), range(1, 10))
      e = g.find_edges([1, 3, 2, 4])
      assert (
          F.asnumpy(e[0][0]) == 1
          and F.asnumpy(e[0][1]) == 3
          and F.asnumpy(e[0][2]) == 2
          and F.asnumpy(e[0][3]) == 4
      )
      assert (
          F.asnumpy(e[1][0]) == 2
          and F.asnumpy(e[1][1]) == 4
          and F.asnumpy(e[1][2]) == 3
          and F.asnumpy(e[1][3]) == 5
      )
  
      try:
          g.find_edges([10])
          fail = False
      except DGLError:
          fail = True
      finally:
          assert fail
  
imports: import math
  import numbers
  import backend
  import dgl
  import networkx
  import numpy
  import pytest
  import scipy.sparse
  from dgl import DGLError
label_desc: Use image node_id 11 for calling a global function with example usage: test_find_edges() without return types