code: def test_cross_eps_1():
      """test the construction of eps-nn bipartite graph"""
      x = basicdata()
      y = x + 0.1 * nr.randn(x.shape[0], x.shape[1])
      G = cross_eps(x, y, 1.0)
      D = G.weights
      assert (D < 1).all()
  
file_path: nipy/nipy/algorithms/graph/tests/test_bipartite_graph.py
imports: import numpy
  import numpy.random
  from ..bipartite_graph import check_feature_matrices, cross_eps, cross_knn
label_desc: Use image node_id 5 for calling a global function with example usage: test_cross_eps_1() without return types