@Test public void count_givenGraphWithoutConnections_returns10() throws Exception { addNodes(10); Assert.assertEquals(10, test.countConnectedComponents(g)); }
public int countConnectedComponents(Graph g) { throw new RuntimeException("Not yet implemented."); }
ConnectedComponents { public int countConnectedComponents(Graph g) { throw new RuntimeException("Not yet implemented."); } }
ConnectedComponents { public int countConnectedComponents(Graph g) { throw new RuntimeException("Not yet implemented."); } ConnectedComponents(); }
ConnectedComponents { public int countConnectedComponents(Graph g) { throw new RuntimeException("Not yet implemented."); } ConnectedComponents(); int countConnectedComponents(Graph g); }
ConnectedComponents { public int countConnectedComponents(Graph g) { throw new RuntimeException("Not yet implemented."); } ConnectedComponents(); int countConnectedComponents(Graph g);  }