Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forTree_acceptsDirectedValueGraph (0.19 sec)

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

        graph.putEdge("a", "b");
    
        assertThrows(IllegalArgumentException.class, () -> Traverser.forTree(graph));
      }
    
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void forTree_acceptsDirectedValueGraph() throws Exception {
        MutableValueGraph<String, Integer> valueGraph = ValueGraphBuilder.directed().build();
        valueGraph.putEdgeValue("a", "b", 11);
    
        Traverser.forTree(valueGraph); // Does not throw
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/TraverserTest.java

        graph.putEdge("a", "b");
    
        assertThrows(IllegalArgumentException.class, () -> Traverser.forTree(graph));
      }
    
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void forTree_acceptsDirectedValueGraph() throws Exception {
        MutableValueGraph<String, Integer> valueGraph = ValueGraphBuilder.directed().build();
        valueGraph.putEdgeValue("a", "b", 11);
    
        Traverser.forTree(valueGraph); // Does not throw
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
Back to top