@Test public void count_given15Nodes_givenGraphWithWayLength11_returns5() throws Exception { addNodes(15); buildWay(2, 13); Assert.assertEquals(5, 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);  }