Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for OutEdge (0.07 sec)

  1. guava-tests/test/com/google/common/graph/TraverserTest.java

        MutableGraph<String> graph = GraphBuilder.directed().build();
        graph.putEdge("a", "b");
    
        Traverser.forTree(graph); // Does not throw
      }
    
      @Test
      public void forTree_withUndirectedGraph_throws() throws Exception {
        MutableGraph<String> graph = GraphBuilder.undirected().build();
        graph.putEdge("a", "b");
    
        assertThrows(IllegalArgumentException.class, () -> Traverser.forTree(graph));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
Back to top