public static int RunTest(int n) { IRandomGraph g = new RandomGraph(n); int c = 0; while (!g.IsConnected()) { c++; g.NextEdge(); } return(c); }