code: def test_anti_symmeterize():
      n = 10
      eps = 1.0e-7
      M = (nr.rand(n, n) > 0.7).astype(np.float64)
      C = M - M.T
      G = wgraph_from_adjacency(M)
      G.anti_symmeterize()
      A = G.to_coo_matrix()
      assert np.sum(C - A) ** 2 < eps
  
imports: import numpy
  import numpy.random
  from numpy.testing import assert_almost_equal, assert_array_almost_equal, assert_array_equal
  from ..graph import WeightedGraph, complete_graph, concatenate_graphs, eps_nn, knn, mst, wgraph_from_3d_grid, wgraph_from_adjacency, wgraph_from_coo_matrix
label_desc: Use image node_id 40 for calling a global function with example usage: test_anti_symmeterize() without return types