()
| 61 | } |
| 62 | |
| 63 | @Test |
| 64 | public void testVertexContainment() { |
| 65 | // values |
| 66 | for(int i = 1; i < 6; i++) |
| 67 | assertTrue(undirectedGraph.containsVertex(i)); |
| 68 | assertFalse(undirectedGraph.containsVertex(-1)); |
| 69 | // vertices |
| 70 | for(int i = 1; i < 6; i++) |
| 71 | assertTrue(undirectedGraph.containsVertex(undirectedGraph.getVertex(i))); |
| 72 | } |
| 73 | |
| 74 | @Test |
| 75 | public void testUndirectedPathSearch() { |
nothing calls this directly
no test coverage detected