예제 #1
0
파일: test_graphs.py 프로젝트: dsacc/pygsp
 def test_RandomRegular():
     G = graphs.RandomRegular()
예제 #2
0
 def test_randomregular(self):
     k = 6
     G = graphs.RandomRegular(k=k)
     np.testing.assert_equal(G.W.sum(0), k)
     np.testing.assert_equal(G.W.sum(1), k)
예제 #3
0
 def test_RandomRegular():
     G = graphs.RandomRegular()
     needed_attributes_testing(G)