Example #1
0
func BenchmarkPageRank1(b *testing.B) {
	g := tests.MakeTestTasksN(b.N, 200, 10).(graph.Tasks)
	b.ResetTimer()
	graph.PageRank1(g)
}
Example #2
0
func TestPageRank1(t *testing.T) {
	g := tests.MakeTestTasksN(100, 100, 10).(graph.Tasks)
	graph.PageRank1(g)
	//fmt.Println(ws)
}