Skip to content

Commit

Permalink
changed test from clique to grid
Browse files Browse the repository at this point in the history
  • Loading branch information
kfoynt committed Apr 1, 2019
1 parent 5bfecf2 commit d0574bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions localgraphclustering/tests/test_ncp.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def test_ncp_crd():
G = load_example_graph()
df = lgc.NCPData(G).crd(ratio=1)

def test_ncp_clique():
def test_ncp_grid():
import networkx as nx
K10 = nx.complete_graph(10)
K10 = nx.grid_graph(dim=[10,10])
G = lgc.GraphLocal().from_networkx(K10)
ncp = lgc.NCPData(G).approxPageRank()
df = ncp.as_data_frame()
Expand Down

0 comments on commit d0574bb

Please sign in to comment.