Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forTree_acceptsDirectedNetwork (0.33 sec)

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

        valueGraph.putEdgeValue("a", "b", 11);
    
        assertThrows(IllegalArgumentException.class, () -> Traverser.forTree(valueGraph));
      }
    
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void forTree_acceptsDirectedNetwork() throws Exception {
        MutableNetwork<String, Integer> network = NetworkBuilder.directed().build();
        network.addEdge("a", "b", 11);
    
        Traverser.forTree(network); // 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

        valueGraph.putEdgeValue("a", "b", 11);
    
        assertThrows(IllegalArgumentException.class, () -> Traverser.forTree(valueGraph));
      }
    
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void forTree_acceptsDirectedNetwork() throws Exception {
        MutableNetwork<String, Integer> network = NetworkBuilder.directed().build();
        network.addEdge("a", "b", 11);
    
        Traverser.forTree(network); // 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